-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Express.js locals to Manage prototype Nunjucks context
Management pages use locals like `serviceName` which custom Nunjucks environments don’t provide Here we’re restoring the same `app.locals` that the route’s `res.render()` included by default previously
- Loading branch information
1 parent
12c107c
commit 293015b
Showing
2 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters