aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/router.js
diff options
context:
space:
mode:
authorrobertkj <joramo40@hotmail.com>2013-04-23 11:34:16 +0200
committerrobertkj <joramo40@hotmail.com>2013-04-23 11:34:16 +0200
commit8358e0cea44ddc8830694de6b58e307d516cffcb (patch)
tree53d7f993372997dcdedb10caeaea701f1d31f1e2 /router.js
parentFixed syntax error on styles.less (diff)
downloadDivid-8358e0cea44ddc8830694de6b58e307d516cffcb.tar.gz
fixed home page
Diffstat (limited to '')
-rw-r--r--router.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/router.js b/router.js
index df4f564..c63d293 100644
--- a/router.js
+++ b/router.js
@@ -30,6 +30,13 @@ module.exports = function(app) {
});
});
+ app.get('/home', function(req, res) {
+ res.render('home', {
+ title: 'home',
+ loggedin: false
+ });
+ });
+
/*
* GET dashboard