mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 14:45:56 +08:00
Fix edit file result [SCI-8902]
This commit is contained in:
parent
bcf0dc5069
commit
b0b8427f53
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue