Fix edit file result [SCI-8902]

This commit is contained in:
Anton 2023-07-19 14:56:29 +02:00
parent bcf0dc5069
commit b0b8427f53

View file

@ -103,7 +103,7 @@ class ResultAssetsController < ApplicationController
format.json do
render json: {
html: render_to_string(
partial: 'my_modules/result', locals: { result: @result }
partial: 'my_modules/result', locals: { result: @result }, formats: :html
)
}, status: :ok
end