diff options
Diffstat (limited to 'bucky/app/router.js')
| -rw-r--r-- | bucky/app/router.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bucky/app/router.js b/bucky/app/router.js index 8eb9142..bac5e42 100644 --- a/bucky/app/router.js +++ b/bucky/app/router.js @@ -172,6 +172,8 @@ module.exports = function(app){ middleware.ensureAuthenticated, bucky.ensureThread, bucky.checkThreadPrivacy, + bucky.ensureCommentsForThread, + bucky.ensureFilesForThread, bucky.destroyThread, function(req, res){ res.sendStatus(200) |
