mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 13:40:55 +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 !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")
|
||||||
|
Loading…
Reference in New Issue
Block a user