From 4cec8e5d2e520218725a506b5f6532e3e0aa0e2b Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 24 May 2013 16:11:09 +0200 Subject: added delete post option --- routes.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'routes.js') diff --git a/routes.js b/routes.js index 1717766..e535206 100644 --- a/routes.js +++ b/routes.js @@ -75,4 +75,7 @@ module.exports = function(app, passport, auth) { app.get('/project/:short/participants', auth.requiresLogin, system.projectParticipants); app.post('/project/:short/participants', auth.requiresLogin, users.postProjectParticipants); // goes to the usercontroller because participants are users + + app.get('/project/:short/delete/:post', auth.requiresLogin, system.deleteProjectPost); + }; -- cgit v1.2.3