1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 05:01:28 +00:00

modify in the autorouter's Render #377

This commit is contained in:
astaxie 2013-12-16 11:46:54 +08:00
parent 55f638ac78
commit 7fd18ba639

View File

@ -824,7 +824,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
if !w.started && !context.Input.IsWebsocket() { if !w.started && !context.Input.IsWebsocket() {
if AutoRender { if AutoRender {
method = vc.MethodByName("Render") method = vc.MethodByName("Render")
method.Call(in) callMethodWithError(method, in)
} }
} }
method = vc.MethodByName("Finish") method = vc.MethodByName("Finish")