diff --git a/examples/pluggable_renderer/example_pongo2.go b/examples/pluggable_renderer/example_pongo2.go index 8b6fd94a..9f745e1e 100644 --- a/examples/pluggable_renderer/example_pongo2.go +++ b/examples/pluggable_renderer/example_pongo2.go @@ -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() {