Commit 7fd18ba6 authored by astaxie's avatar astaxie

modify in the autorouter's Render #377

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