Skip to content

Node.js based forum software built for the modern web

filter:categories.get

psychobunny458d4996a62c
diff --git a/src/controllers/categories.js b/src/controllers/categories.js
index 7e3e4b0efe..12c94954b2 100644
--- a/src/controllers/categories.js
+++ b/src/controllers/categories.js
@@ -73,7 +73,9 @@ categoriesController.list = function(req, res, next) {
}
});
- res.render('categories', data);
+ plugins.fireHook('filter:categories.get', data, function(err, data) {
+ res.render('categories', data);
+ });
});
};