From 5d0ab1f2e9544b7e6a2f3db0e6e8a519f18f83b2 Mon Sep 17 00:00:00 2001 From: aignatov-bio Date: Wed, 4 Nov 2020 13:32:34 +0100 Subject: [PATCH] Fix markup --- app/controllers/marvin_js_assets_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/marvin_js_assets_controller.rb b/app/controllers/marvin_js_assets_controller.rb index cf1c40669..ed5c7745d 100644 --- a/app/controllers/marvin_js_assets_controller.rb +++ b/app/controllers/marvin_js_assets_controller.rb @@ -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