From bbeadcce16971645f2660650523d5e99e320faea Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Wed, 15 May 2013 10:37:05 +0200 Subject: post to project participants now goes to user controller --- routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes.js b/routes.js index 72b036f..0e57dc7 100644 --- a/routes.js +++ b/routes.js @@ -71,5 +71,5 @@ module.exports = function(app, passport, auth) { app.get('/project/:short/participants', auth.requiresLogin, system.projectParticipants); - app.post('/project/:short/participants', auth.requiresLogin, system.postProjectParticipants); + app.post('/project/:short/participants', auth.requiresLogin, users.postProjectParticipants); // goes to the usercontroller because participants are users }; -- cgit v1.2.3