From 318110acae21063c0afb9f3ab67edf6dceba615f Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Mon, 29 Apr 2013 13:24:51 +0200 Subject: fixing routes --- router.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'router.js') 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) }; -- cgit v1.2.3