Update angel3_jinja.dart
This commit is contained in:
parent
da207f2ddf
commit
f1772b3996
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue