diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-07 10:13:01 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-07 10:13:01 +0200 |
commit | 27aa0c8aa78e4227bf20d13c5b85f9807e4c6fc0 (patch) | |
tree | 00667a43a0af8055b65419d95511185b30b65a11 /routes.js | |
parent | changed some wrong links (diff) | |
download | Divid-27aa0c8aa78e4227bf20d13c5b85f9807e4c6fc0.tar.gz |
adding post-page for projects
Diffstat (limited to 'routes.js')
-rw-r--r-- | routes.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -61,6 +61,10 @@ module.exports = function(app, passport, auth) { app.get('/project/:short', auth.requiresLogin, system.project); + app.get('/project/:short/post', auth.requiresLogin, system.projectPost); + + app.post('/project/:short/post', auth.requiresLogin, system.postProjectPost); + app.get('/project/:short/participants', auth.requiresLogin, system.projectParticipants); app.post('/project/:short/participants', auth.requiresLogin, system.postProjectParticipants); |