mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-29 12:02:55 +09:00
Refactor error system (#33610)
This commit is contained in:
@ -340,7 +340,7 @@ func RenameBranchPost(ctx *context.Context) {
|
||||
form := web.GetForm(ctx).(*forms.RenameBranchForm)
|
||||
|
||||
if !ctx.Repo.CanCreateBranch() {
|
||||
ctx.NotFound("RenameBranch", nil)
|
||||
ctx.NotFound(nil)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user