aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/routes.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-15 10:37:05 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-15 10:37:05 +0200
commitbbeadcce16971645f2660650523d5e99e320faea (patch)
treedfcb4ebab1217a5188633c58414cc115cd37822f /routes.js
parentwe don't want to require name field and such when the user is invited (diff)
downloadDivid-bbeadcce16971645f2660650523d5e99e320faea.tar.gz
post to project participants now goes to user controller
Diffstat (limited to '')
-rw-r--r--routes.js2
1 files changed, 1 insertions, 1 deletions
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
};