From 691b1eb84e1bcae1d97d49b96a25961b694fa9f4 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 30 Apr 2013 13:48:18 +0200 Subject: added post-route for participants --- routes.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'routes.js') diff --git a/routes.js b/routes.js index 0b6bd65..d597ae8 100644 --- a/routes.js +++ b/routes.js @@ -62,4 +62,6 @@ module.exports = function(app, passport, auth) { app.get('/project/:short', auth.requiresLogin, system.project); app.get('/project/:short/participants', auth.requiresLogin, system.projectParticipants); + + app.post('/project/:short/participants', auth.requiresLogin, system.postProjectParticipants); }; -- cgit v1.2.3