mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 02:08:36 +00: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