modify in the autorouter's Render #377
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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") | ... | ... |
-
Please register or sign in to post a comment