diff --git a/app/controllers/topics_controller.rb b/app/controllers/topics_controller.rb index e4e31cb55..c7e3d9916 100644 --- a/app/controllers/topics_controller.rb +++ b/app/controllers/topics_controller.rb @@ -110,7 +110,7 @@ class TopicsController < ApplicationController params.require(:post_ids) @topic_view = TopicView.new(params[:topic_id], current_user, post_ids: params[:post_ids]) - render_json_dump(TopicViewPostsSerializer.new(@topic_view, scope: guardian, root: false)) + render_json_dump(TopicViewPostsSerializer.new(@topic_view, scope: guardian, root: false, include_raw: !!params[:include_raw])) end def destroy_timings