From 1dfc46e99546431a14a57d21c8c8b936ecb60ede Mon Sep 17 00:00:00 2001 From: Soufiane Date: Mon, 17 Jul 2023 13:04:56 +0200 Subject: [PATCH] Fix comments update action [SCI-8873] (#5786) --- app/helpers/comment_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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