diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-24 16:11:09 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-24 16:11:09 +0200 |
commit | 4cec8e5d2e520218725a506b5f6532e3e0aa0e2b (patch) | |
tree | 1f206662ed2cc3d112cc14b6d39c9c3d03d1c8e9 /routes.js | |
parent | don't get som many fields.. faster loading (diff) | |
download | Divid-4cec8e5d2e520218725a506b5f6532e3e0aa0e2b.tar.gz |
added delete post option
Diffstat (limited to 'routes.js')
-rw-r--r-- | routes.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); + }; |