Merge pull request #17 from debuggerx01/jinja-patch-debuggerx

Update angel3_jinja.dart
This commit is contained in:
Thomas Hii 2021-12-03 13:14:13 +08:00 committed by GitHub
commit 3500065b96
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]) {
return env.getTemplate(path).render(values) as String;
return env.getTemplate(path).render.renderMap(values) as String;
};
};
}