mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-28 04:47:31 +08:00
Refactor error system (#33610)
This commit is contained in:
@ -113,5 +113,5 @@ func HomeSitemap(ctx *context.Context) {
|
||||
// NotFound render 404 page
|
||||
func NotFound(ctx *context.Context) {
|
||||
ctx.Data["Title"] = "Page Not Found"
|
||||
ctx.NotFound("home.NotFound", nil)
|
||||
ctx.NotFound(nil)
|
||||
}
|
||||
|
Reference in New Issue
Block a user