From 27aa0c8aa78e4227bf20d13c5b85f9807e4c6fc0 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 7 May 2013 10:13:01 +0200 Subject: adding post-page for projects --- routes.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'routes.js') 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); -- cgit v1.2.3