mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 05:59:30 +00:00
Added generalised handlebars context
This commit is contained in:
@@ -7,9 +7,9 @@ router.get('/reports', (req, res, next) => {
|
||||
/* eslint-disable multiline-comment-style */
|
||||
/*
|
||||
return res.render('reports', {
|
||||
...req.hbsContext,
|
||||
title: 'Stratos - Reports',
|
||||
current: 'Reports',
|
||||
name: req.session.fullName
|
||||
current: 'Reports'
|
||||
});
|
||||
*/
|
||||
/* eslint-enable multiline-comment-style */
|
||||
|
||||
Reference in New Issue
Block a user