Merge branch 'csrf-excision' into hashtalk

This commit is contained in:
Julian Lam
2014-09-17 16:07:36 -04:00
17 changed files with 54 additions and 51 deletions

View File

@@ -189,6 +189,7 @@ categoriesController.get = function(req, res, next) {
data.currentPage = page;
data['feeds:disableRSS'] = meta.config['feeds:disableRSS'] === '1' ? true : false;
data.csrf = req.csrfToken();
// Paginator for noscript
data.pages = [];