mirror of
https://github.com/go-gitea/gitea
synced 2025-07-09 12:07:20 +00:00
Refactor context repository (#33202)
This commit is contained in:
@ -191,7 +191,7 @@ func SearchCommits(ctx *context.Context) {
|
||||
|
||||
query := ctx.FormTrim("q")
|
||||
if len(query) == 0 {
|
||||
ctx.Redirect(ctx.Repo.RepoLink + "/commits/" + ctx.Repo.BranchNameSubURL())
|
||||
ctx.Redirect(ctx.Repo.RepoLink + "/commits/" + ctx.Repo.RefTypeNameSubURL())
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user