This commit is contained in:
Javier Provecho Fernandez 2015-01-04 01:48:01 +01:00
parent 869f114e27
commit 852729e90c

View File

@ -37,7 +37,7 @@ func (p *pongoRender) Render(w http.ResponseWriter, code int, data ...interface{
t = tmpl
}
writeHeader(w, code, "text/html")
return t.ExecuteRW(w, ctx)
return t.ExecuteWriter(ctx, w)
}
func main() {