diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-15 10:37:05 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-15 10:37:05 +0200 |
commit | bbeadcce16971645f2660650523d5e99e320faea (patch) | |
tree | dfcb4ebab1217a5188633c58414cc115cd37822f | |
parent | we don't want to require name field and such when the user is invited (diff) | |
download | Divid-bbeadcce16971645f2660650523d5e99e320faea.tar.gz |
post to project participants now goes to user controller
-rw-r--r-- | routes.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 }; |