removed slice

v1.18.x
barisusakli 11 years ago
parent 522fda2e58
commit b2f8a65bc8

@ -47,7 +47,7 @@ categoriesController.unread = function(req, res, next) {
if (err) { if (err) {
return next(err); return next(err);
} }
data.topics = data.topics.slice(0, parseInt(meta.config.topicsPerList, 10) || 20);
res.render('unread', data); res.render('unread', data);
}); });
}; };

Loading…
Cancel
Save