diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-15 02:52:15 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-15 02:52:15 +0100 |
| commit | cc585396a85e3107bb7b4298098b84b738919c8f (patch) | |
| tree | bd74ed6e090231d472e022f487748c5f7eb46aa4 /bucky/app/router.js | |
| parent | 1466563673ffe6c41ec9a18bf98565b8562ee4f3 (diff) | |
more middleware
Diffstat (limited to 'bucky/app/router.js')
| -rw-r--r-- | bucky/app/router.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bucky/app/router.js b/bucky/app/router.js index cb90350..106c65e 100644 --- a/bucky/app/router.js +++ b/bucky/app/router.js @@ -142,6 +142,7 @@ module.exports = function(app){ middleware.ensureAuthenticated, bucky.ensureThread, bucky.bumpViewCount, + bucky.ensureThreadPrivacy, bucky.ensureKeywordForThread, bucky.ensureCommentsForThread, bucky.ensureFilesForThread, |
