Mirror bug fix

This commit is contained in:
Unknown 2014-04-11 12:14:11 -04:00
parent 65c2c62982
commit 11f54b1426
4 changed files with 13 additions and 336 deletions

View file

@ -103,7 +103,7 @@ func (ctx *Context) RenderWithErr(msg, tpl string, form auth.Form) {
func (ctx *Context) Handle(status int, title string, err error) {
log.Error("%s: %v", title, err)
if martini.Dev == martini.Prod {
ctx.HTML(500, "status/500")
ctx.HTML(200, "status/500")
return
}