fix #1255 - add comment incrementing to Posts when adding a comment

This commit is contained in:
Paul Molluzzo 2016-03-01 21:32:03 -05:00
parent b1e15e9fb1
commit 8c2362befe

View file

@ -30,7 +30,7 @@ Comments.methods.new = function (comment) {
// ------------------------------ Callbacks ------------------------------ //
// run all post submit server callbacks on comment object successively
comment = Telescope.callbacks.run("commentSubmit", comment);
comment = Telescope.callbacks.run("comments.new.sync", comment);
// -------------------------------- Insert -------------------------------- //