Fix comments update action [SCI-8873] (#5786)

This commit is contained in:
Soufiane 2023-07-17 13:04:56 +02:00 committed by GitHub
parent 4808f6438c
commit 1dfc46e995
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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