v1.18.x
Barış Soner Uşaklı 7 years ago
parent 3bf7faf5fc
commit 12ca1c4e7a

@ -10,13 +10,13 @@ var helpers = require('./helpers');
exports.get = function (req, res, next) { exports.get = function (req, res, next) {
async.waterfall([ async.waterfall([
function (next) { function (_next) {
plugins.fireHook('filter:composer.build', { plugins.fireHook('filter:composer.build', {
req: req, req: req,
res: res, res: res,
next: next, next: next,
templateData: {}, templateData: {},
}, next); }, _next);
}, },
function (data) { function (data) {
if (data.templateData.disabled) { if (data.templateData.disabled) {

Loading…
Cancel
Save