mirror of https://github.com/gin-gonic/gin.git
Fix PR #71
This commit is contained in:
parent
869f114e27
commit
852729e90c
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue