From bafbcad163e0016fda40b8202c542fa5a89bb9b5 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 6 May 2016 03:54:13 -0400 Subject: [PATCH] use filter:categories.build instead of .get --- src/controllers/categories.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/controllers/categories.js b/src/controllers/categories.js index 7429cae666..7e3e4b0efe 100644 --- a/src/controllers/categories.js +++ b/src/controllers/categories.js @@ -6,7 +6,6 @@ var validator = require('validator'); var categories = require('../categories'); var meta = require('../meta'); -var plugins = require('../plugins'); var helpers = require('./helpers'); var categoriesController = {}; @@ -74,9 +73,7 @@ categoriesController.list = function(req, res, next) { } }); - plugins.fireHook('filter:categories.get', data, function(err, data) { - res.render('categories', data); - }); + res.render('categories', data); }); };