diff options
Diffstat (limited to 'app/presenters/extreme_post_presenter.rb')
-rw-r--r-- | app/presenters/extreme_post_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/extreme_post_presenter.rb b/app/presenters/extreme_post_presenter.rb index 49d872a18..c35b54088 100644 --- a/app/presenters/extreme_post_presenter.rb +++ b/app/presenters/extreme_post_presenter.rb @@ -9,6 +9,6 @@ class ExtremePostPresenter def as_json(options={}) post = PostPresenter.new(@post, @current_user) interactions = PostInteractionPresenter.new(@post, @current_user) - post.as_json.merge!(interactions.as_json) + post.as_json.merge!(:interactions => interactions.as_json) end end
\ No newline at end of file |