This commit is contained in:
barisusakli
2014-03-13 20:24:04 -04:00
parent 6011399063
commit a0e784a612
3 changed files with 73 additions and 17 deletions

View File

@@ -304,5 +304,8 @@ SocketPosts.getRecentPosts = function(socket, data, callback) {
posts.getRecentPosts(socket.uid, 0, data.count - 1, data.term, callback);
};
SocketPosts.getCategory = function(socket, pid, callback) {
posts.getCidByPid(pid, callback);
}
module.exports = SocketPosts;