mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-31 13:02:52 +09:00
Refactor error system (#33610)
This commit is contained in:
@ -49,6 +49,6 @@ func SetDefaultBranchPost(ctx *context.Context) {
|
||||
ctx.Flash.Success(ctx.Tr("repo.settings.update_settings_success"))
|
||||
ctx.Redirect(setting.AppSubURL + ctx.Req.URL.EscapedPath())
|
||||
default:
|
||||
ctx.NotFound("", nil)
|
||||
ctx.NotFound(nil)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user