1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-06 05:50:19 +00:00
This commit is contained in:
astaxie
2016-03-13 11:16:19 +08:00
parent 474bdd2e6b
commit d90195061f
3 changed files with 6 additions and 14 deletions

View File

@ -783,7 +783,7 @@ func (p *ControllerRegister) ServeHTTP(rw http.ResponseWriter, r *http.Request)
if !context.ResponseWriter.Started && context.Output.Status == 0 {
if BConfig.WebConfig.AutoRender {
if err := execController.Render(); err != nil {
panic(err)
Error(err)
}
}
}