mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 20:00:50 +00:00
modify in the autorouter's Render #377
This commit is contained in:
parent
55f638ac78
commit
7fd18ba639
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user