aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/router.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-04-12 12:49:33 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-04-12 12:49:33 +0200
commitf091b2ceb87efe64a69ba121eed20b1de210155d (patch)
treed99877f2e6f8833038dd3eb59f106974bd9dde79 /router.js
parentadded favicon serving in app.js (diff)
downloadDivid-f091b2ceb87efe64a69ba121eed20b1de210155d.tar.gz
remove loginmenu if logged in
Diffstat (limited to 'router.js')
-rw-r--r--router.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/router.js b/router.js
index 2913c31..e77766a 100644
--- a/router.js
+++ b/router.js
@@ -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
+ });
});