@ -9,4 +9,10 @@ helpers.setupPageRoute = function (router, name, middleware, middlewares, contro
router.get('/api' + name, middlewares, controller);
};
helpers.setupAdminPageRoute = function (router, name, middleware, middlewares, controller) {
router.get(name, middleware.admin.buildHeader, middlewares, controller);
module.exports = helpers;