diff options
Diffstat (limited to 'lib/models/templateEngine.js')
-rw-r--r-- | lib/models/templateEngine.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/templateEngine.js b/lib/models/templateEngine.js index 0d0a015..243bfc6 100644 --- a/lib/models/templateEngine.js +++ b/lib/models/templateEngine.js @@ -107,7 +107,7 @@ TemplateEngine.prototype.toNunjucks = function() { }); // Add globals - globals.forEach(function(globalName, globalValue) { + globals.forEach(function(globalValue, globalName) { env.addGlobal(globalName, globalValue); }); |