Rerender actions on like/dislike

This commit is contained in:
James Kiesel 2015-01-29 23:27:05 +13:00
parent a82c50d584
commit 3b2dcf12b5
2 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@ export default Discourse.View.extend(StringBuffer, {
rerenderTriggers: [
'post.deleted_at',
'post.like_count',
'post.reply_count',
'post.showRepliesBelow',
'post.can_delete',

View File

@ -11,6 +11,7 @@ class PostSerializer < BasicPostSerializer
attributes :post_number,
:post_type,
:updated_at,
:like_count,
:reply_count,
:reply_to_post_number,
:quote_count,