fix indents

v1.18.x
barisusakli 10 years ago
parent be8aac9950
commit 7c0b798036

@ -26,13 +26,13 @@ categoriesController.recent = function(req, res, next) {
data['feeds:disableRSS'] = parseInt(meta.config['feeds:disableRSS'], 10) === 1; data['feeds:disableRSS'] = parseInt(meta.config['feeds:disableRSS'], 10) === 1;
data.rssFeedUrl = nconf.get('relative_path') + '/recent.rss'; data.rssFeedUrl = nconf.get('relative_path') + '/recent.rss';
data.breadcrumbs = helpers.buildBreadcrumbs([{text: '[[recent:title]]'}]); data.breadcrumbs = helpers.buildBreadcrumbs([{text: '[[recent:title]]'}]);
plugins.fireHook('filter:recent.build', {req: req, res: res, templateData: data}, function(err, data) { plugins.fireHook('filter:recent.build', {req: req, res: res, templateData: data}, function(err, data) {
if (err) { if (err) {
return next(err); return next(err);
} }
res.render('recent', data.templateData); res.render('recent', data.templateData);
}); });
}); });
}; };

Loading…
Cancel
Save