aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/routes.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-04-30 13:48:18 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-04-30 13:48:18 +0200
commit691b1eb84e1bcae1d97d49b96a25961b694fa9f4 (patch)
tree87a404094e8e3438577701050f0612a45a7ef1f8 /routes.js
parentMerge branch 'master' of github.com:dennisse/Divid (diff)
downloadDivid-691b1eb84e1bcae1d97d49b96a25961b694fa9f4.tar.gz
added post-route for participants
Diffstat (limited to '')
-rw-r--r--routes.js2
1 files changed, 2 insertions, 0 deletions
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);
};