fixed to template PR issues, #13938

This commit is contained in:
Torkel Ödegaard
2018-11-02 10:49:46 +01:00
parent 70bb81c6eb
commit b415d82611
12 changed files with 89 additions and 8 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ func (ctx *ReqContext) Handle(status int, title string, err error) {
ctx.Data["AppSubUrl"] = setting.AppSubUrl
ctx.Data["Theme"] = "dark"
ctx.HTML(status, "error")
ctx.HTML(status, setting.ERR_TEMPLATE_NAME)
}
func (ctx *ReqContext) JsonOK(message string) {