1 changed files with 2 additions and 4 deletions
@ -1,7 +1,5 @@ |
|||||
module.exports = (req, res, next) => { |
module.exports = (req, res, next) => { |
||||
req.app.settings.nunjucksEnv |
res.locals.req = req; |
||||
.addGlobal('req', req) |
res.locals.res = res; |
||||
.addGlobal('res', res); |
|
||||
|
|
||||
next(); |
next(); |
||||
} |
} |
||||
|
Loading…
Reference in new issue