1
0
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:
2022-04-19 00:21:40 +00:00
parent 35b4030d27
commit 52c44f298e
9 changed files with 47 additions and 35 deletions

View File

@@ -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 */