mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-29 03:01:58 +08:00
Fix markup
This commit is contained in:
parent
12fdea8d89
commit
5d0ab1f2e9
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@ class MarvinJsAssetsController < ApplicationController
|
|||
if result[:asset] && marvin_params[:object_type] == 'Step'
|
||||
render json: {
|
||||
html: render_to_string(partial: 'assets/asset.html.erb', locals: {
|
||||
asset: result[:asset],
|
||||
gallery_view_id: marvin_params[:object_id]
|
||||
})
|
||||
asset: result[:asset],
|
||||
gallery_view_id: marvin_params[:object_id]
|
||||
})
|
||||
}
|
||||
elsif result[:asset] && marvin_params[:object_type] == 'Result'
|
||||
@my_module = result[:object].my_module
|
||||
|
|
Loading…
Reference in a new issue