mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 21:49:22 +00:00
Merge branch 'master' of github.com:gogits/gogs
This commit is contained in:
commit
91a1b55707
|
@ -20,5 +20,12 @@ func Home(ctx *middleware.Context) {
|
|||
|
||||
func Help(ctx *middleware.Context) {
|
||||
ctx.Data["PageIsHelp"] = true
|
||||
ctx.Data["Title"] = "Help"
|
||||
ctx.HTML(200, "help")
|
||||
}
|
||||
|
||||
func NotFound(ctx *middleware.Context) {
|
||||
ctx.Data["PageIsNotFound"] = true
|
||||
ctx.Data["Title"] = 404
|
||||
ctx.Handle(404, "home.NotFound", nil)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue