From 7fd18ba63984e13efa221d668055f9a9cd63158f Mon Sep 17 00:00:00 2001 From: astaxie Date: Mon, 16 Dec 2013 11:46:54 +0800 Subject: [PATCH] modify in the autorouter's Render #377 --- router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router.go b/router.go index 8449e2d6..d1eca546 100644 --- a/router.go +++ b/router.go @@ -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")