aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/router.js
diff options
context:
space:
mode:
authorLurifax <stianalexanderolsen@gmail.com>2013-04-29 14:49:39 +0200
committerLurifax <stianalexanderolsen@gmail.com>2013-04-29 14:49:39 +0200
commite0a8e93d0e691c3939a121f65e87dece50f6d97d (patch)
tree263cd285ca4b06c7c13cc6f92e3cf7739be9bfc1 /router.js
parentMerge branch 'master' of github.com:dennisse/Divid (diff)
parentbeen working on the project model and posting projects (diff)
downloadDivid-e0a8e93d0e691c3939a121f65e87dece50f6d97d.tar.gz
Merge branch 'master' of github.com:dennisse/Divid
Diffstat (limited to 'router.js')
-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)
};