aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/routes.js
diff options
context:
space:
mode:
authorErling Aaby <erlinaa@stud.hist.no>2013-04-30 13:45:06 +0200
committerErling Aaby <erlinaa@stud.hist.no>2013-04-30 13:45:06 +0200
commit546dabe8f94dd96125a611587f8197d49a36f16a (patch)
tree746eec12b95268f41b992d2002e19bbc1f5c0f94 /routes.js
parentchanges in use.less (diff)
parentremoved old router (diff)
downloadDivid-546dabe8f94dd96125a611587f8197d49a36f16a.tar.gz
Merge branch 'master' of github.com:dennisse/Divid
Diffstat (limited to '')
-rw-r--r--routes.js (renamed from router.js)2
1 files changed, 1 insertions, 1 deletions
diff --git a/router.js b/routes.js
index b67f03a..ae94779 100644
--- a/router.js
+++ b/routes.js
@@ -50,7 +50,7 @@ module.exports = function(app, passport, auth) {
*/
- app.get('/dashboard', system.dashboard);
+ app.get('/dashboard', auth.requiresLogin, system.dashboard);
app.get('/project', auth.requiresLogin, system.project);