added topics thumbnails support

This commit is contained in:
akhoury
2014-02-20 02:05:49 -05:00
parent 9d1a295b85
commit 25207852e8
15 changed files with 492 additions and 255 deletions

View File

@@ -148,7 +148,7 @@ SocketPosts.edit = function(socket, data, callback) {
return callback(new Error('content-too-short'));
}
postTools.edit(socket.uid, data.pid, data.title, data.content);
postTools.edit(socket.uid, data.pid, data.title, data.content, {topic_thumb: data.topic_thumb});
callback();
};