Update angel3_jinja.dart

This commit is contained in:
debuggerx01 2021-12-02 14:49:18 +08:00 committed by GitHub
parent da207f2ddf
commit f1772b3996
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ AngelConfigurer jinja({
); );
app.viewGenerator = (path, [values]) { app.viewGenerator = (path, [values]) {
return env.getTemplate(path).render(values) as String; return env.getTemplate(path).render.renderMap(values) as String;
}; };
}; };
} }