aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/routes.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-07 10:13:01 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-07 10:13:01 +0200
commit27aa0c8aa78e4227bf20d13c5b85f9807e4c6fc0 (patch)
tree00667a43a0af8055b65419d95511185b30b65a11 /routes.js
parentchanged some wrong links (diff)
downloadDivid-27aa0c8aa78e4227bf20d13c5b85f9807e4c6fc0.tar.gz
adding post-page for projects
Diffstat (limited to '')
-rw-r--r--routes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/routes.js b/routes.js
index d597ae8..50d4cba 100644
--- a/routes.js
+++ b/routes.js
@@ -61,6 +61,10 @@ module.exports = function(app, passport, auth) {
app.get('/project/:short', auth.requiresLogin, system.project);
+ app.get('/project/:short/post', auth.requiresLogin, system.projectPost);
+
+ app.post('/project/:short/post', auth.requiresLogin, system.postProjectPost);
+
app.get('/project/:short/participants', auth.requiresLogin, system.projectParticipants);
app.post('/project/:short/participants', auth.requiresLogin, system.postProjectParticipants);