aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/routes.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-24 16:11:09 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-24 16:11:09 +0200
commit4cec8e5d2e520218725a506b5f6532e3e0aa0e2b (patch)
tree1f206662ed2cc3d112cc14b6d39c9c3d03d1c8e9 /routes.js
parentdon't get som many fields.. faster loading (diff)
downloadDivid-4cec8e5d2e520218725a506b5f6532e3e0aa0e2b.tar.gz
added delete post option
Diffstat (limited to 'routes.js')
-rw-r--r--routes.js3
1 files changed, 3 insertions, 0 deletions
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);
+
};