Permalink
Browse files

remove unnecessary attributes, these are set as app.locals

  • Loading branch information...
1 parent 06fb9b1 commit 5e3f4ee1a9ee1369e90581cb566283bb547c8847 Tim Toomey committed Feb 9, 2015
Showing with 2 additions and 6 deletions.
  1. +2 −6 server.js
View
@@ -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)
});
});

0 comments on commit 5e3f4ee

Please sign in to comment.