present reshares
This commit is contained in:
parent
51b1ade3bc
commit
3326bc5bb4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue