present reshares

This commit is contained in:
Dennis Collinson 2012-05-10 15:16:05 -07:00
parent 51b1ade3bc
commit 3326bc5bb4

View file

@ -91,7 +91,7 @@ class PostInteractionPresenter
def as_json(options={}) def as_json(options={})
{ {
:likes => as_api(@post.likes), :likes => as_api(@post.likes),
:reshares => as_api(@post.reshares), :reshares => PostPresenter.collection_json(@post.reshares, @current_user),
:comments => CommentPresenter.as_collection(@post.comments), :comments => CommentPresenter.as_collection(@post.comments),
:participations => as_api(@post.participations) :participations => as_api(@post.participations)
} }