removed slice

This commit is contained in:
barisusakli
2014-08-15 18:12:43 -04:00
parent 522fda2e58
commit b2f8a65bc8

View File

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