7fd18ba6 by astaxie

modify in the autorouter's Render #377

1 parent 55f638ac
...@@ -824,7 +824,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request) ...@@ -824,7 +824,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
824 if !w.started && !context.Input.IsWebsocket() { 824 if !w.started && !context.Input.IsWebsocket() {
825 if AutoRender { 825 if AutoRender {
826 method = vc.MethodByName("Render") 826 method = vc.MethodByName("Render")
827 method.Call(in) 827 callMethodWithError(method, in)
828 } 828 }
829 } 829 }
830 method = vc.MethodByName("Finish") 830 method = vc.MethodByName("Finish")
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!