diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-12 12:49:33 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-12 12:49:33 +0200 |
commit | f091b2ceb87efe64a69ba121eed20b1de210155d (patch) | |
tree | d99877f2e6f8833038dd3eb59f106974bd9dde79 /router.js | |
parent | added favicon serving in app.js (diff) | |
download | Divid-f091b2ceb87efe64a69ba121eed20b1de210155d.tar.gz |
remove loginmenu if logged in
Diffstat (limited to 'router.js')
-rw-r--r-- | router.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -36,7 +36,10 @@ module.exports = function(app) { */ app.get('/test', function(req, res) { - res.render('test', { title: 'test' }); + res.render('test', { + title: 'test', + loggedin: false + }); }); |