From c0c20e4d6672223014d8caa9e31ed5bb966762c1 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 30 Apr 2013 13:43:10 +0200 Subject: added routes for projects and the participantpage --- routes.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'routes.js') diff --git a/routes.js b/routes.js index ae94779..0b6bd65 100644 --- a/routes.js +++ b/routes.js @@ -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); }; -- cgit v1.2.3