diff options
author | Lurifax <stianalexanderolsen@gmail.com> | 2013-04-29 14:49:39 +0200 |
---|---|---|
committer | Lurifax <stianalexanderolsen@gmail.com> | 2013-04-29 14:49:39 +0200 |
commit | e0a8e93d0e691c3939a121f65e87dece50f6d97d (patch) | |
tree | 263cd285ca4b06c7c13cc6f92e3cf7739be9bfc1 /router.js | |
parent | Merge branch 'master' of github.com:dennisse/Divid (diff) | |
parent | been working on the project model and posting projects (diff) | |
download | Divid-e0a8e93d0e691c3939a121f65e87dece50f6d97d.tar.gz |
Merge branch 'master' of github.com:dennisse/Divid
Diffstat (limited to 'router.js')
-rw-r--r-- | router.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) }; |