Skip to content

Commit

Permalink
Use namespaces option for twig engine
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrsskls committed May 8, 2020
1 parent 9f4e776 commit fffd15b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/consolidate.js
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ exports.twig.render = function(str, options, cb) {
var templateData = {
data: str,
allowInlineIncludes: options.allowInlineIncludes,
namespaces: options.namespaces,
path: options.path
};
try {
Expand Down

0 comments on commit fffd15b

Please sign in to comment.