fix(error handling): fixed server side error handling page

This commit is contained in:
Torkel Ödegaard
2016-11-16 17:41:44 +01:00
parent e3564d12a1
commit 18e965c775
3 changed files with 41 additions and 62 deletions
+1
View File
@@ -187,6 +187,7 @@ func (ctx *Context) Handle(status int, title string, err error) {
}
ctx.Data["Title"] = title
ctx.Data["AppSubUrl"] = setting.AppSubUrl
ctx.HTML(status, strconv.Itoa(status))
}