Merge pull request #4427 from MrZYX/spv_comments_order

spv comments order
This commit is contained in:
Florian Staudacher 2013-08-22 10:04:54 -07:00
commit 5e177bf052

View file

@ -99,7 +99,7 @@ class PostInteractionPresenter
{
:likes => as_api(@post.likes),
:reshares => PostPresenter.collection_json(@post.reshares, @current_user),
:comments => CommentPresenter.as_collection(@post.comments),
:comments => CommentPresenter.as_collection(@post.comments.order('created_at ASC')),
:participations => as_api(@post.participations)
}
end