aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/routes.js
diff options
context:
space:
mode:
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);
+
};