Refactor context repository (#33202)
This commit is contained in:
parent
a7e750414c
commit
a068462ac0
29 changed files with 125 additions and 164 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue