remove unnecessary attributes, these are set as app.locals
This commit is contained in:
parent
06fb9b155b
commit
5e3f4ee1a9
1 changed files with 2 additions and 6 deletions
|
@ -69,17 +69,13 @@ router.get('/', function(req, res) {
|
|||
router.get('/demo', function(req, res) {
|
||||
res.render('index.jade', {
|
||||
pageTitle: 'scrumblr - demo',
|
||||
demo: true,
|
||||
ga: ga.enabled,
|
||||
gaAccount: ga.account
|
||||
demo: true
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/:id', function(req, res){
|
||||
res.render('index.jade', {
|
||||
pageTitle: ('scrumblr - ' + req.params.id),
|
||||
ga: ga.enabled,
|
||||
gaAccount: ga.account
|
||||
pageTitle: ('scrumblr - ' + req.params.id)
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue