aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/router.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-04-29 13:24:51 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-04-29 13:24:51 +0200
commit318110acae21063c0afb9f3ab67edf6dceba615f (patch)
tree56b8a13e8cef8b6b4f51f200fd58dd44a1fc2672 /router.js
parentadded a few comments (diff)
downloadDivid-318110acae21063c0afb9f3ab67edf6dceba615f.tar.gz
fixing routes
Diffstat (limited to '')
-rw-r--r--router.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/router.js b/router.js
index 3ffc887..b67f03a 100644
--- a/router.js
+++ b/router.js
@@ -55,6 +55,7 @@ module.exports = function(app, passport, auth) {
app.get('/project', auth.requiresLogin, system.project);
- app.get('/project/new', auth.requiresLogin, system.newproject);
+ app.get('/project/new', auth.requiresLogin, system.newProject);
+ app.post('/project/new', auth.requiresLogin, system.postNewProject)
};