aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/routes.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes.js')
-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
};