diff --git a/src/controllers/admin.js b/src/controllers/admin.js index 24927574b4..f40ce3c84c 100644 --- a/src/controllers/admin.js +++ b/src/controllers/admin.js @@ -362,8 +362,7 @@ adminController.homepage.get = function(req, res, next) { }, function(categoryData, next) { async.map(categoryData, function(category, next) { - var route = 'category/' + category.slug, - hook = 'action:homepage.get:' + route; + var route = 'category/' + category.slug; next(null, { route: route,