diff --git a/app/helpers/comment_helper.rb b/app/helpers/comment_helper.rb index b6f653cdb..9f173750a 100644 --- a/app/helpers/comment_helper.rb +++ b/app/helpers/comment_helper.rb @@ -108,7 +108,7 @@ module CommentHelper if partial render json: { html: render_to_string( - partial: "/shared/comments/#{partial}.html.erb", + partial: "/shared/comments/#{partial}", locals: { comment: comment, skip_header: false