aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/router.js
diff options
context:
space:
mode:
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)
};