diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-30 13:43:10 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-30 13:43:10 +0200 |
commit | c0c20e4d6672223014d8caa9e31ed5bb966762c1 (patch) | |
tree | 2fb21a3828efed955ac432b86c2e5df3145f3e94 /routes.js | |
parent | removed old router (diff) | |
download | Divid-c0c20e4d6672223014d8caa9e31ed5bb966762c1.tar.gz |
added routes for projects and the participantpage
Diffstat (limited to '')
-rw-r--r-- | routes.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -57,5 +57,9 @@ module.exports = function(app, passport, auth) { app.get('/project/new', auth.requiresLogin, system.newProject); - app.post('/project/new', auth.requiresLogin, system.postNewProject) + app.post('/project/new', auth.requiresLogin, system.postNewProject); + + app.get('/project/:short', auth.requiresLogin, system.project); + + app.get('/project/:short/participants', auth.requiresLogin, system.projectParticipants); }; |