|
|
|
@ -26,7 +26,6 @@ var user = require('./../user.js'),
|
|
|
|
|
categories.getRecentReplies(category.cid, 2, function(posts) {
|
|
|
|
|
category["posts"] = posts;
|
|
|
|
|
category["post_count"] = posts.length>2 ? 2 : posts.length;
|
|
|
|
|
console.log(category.cid, 'worked');
|
|
|
|
|
callback(null);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|