From 71531ebf12a59ccb01b81a397717d7d2b3354a3e Mon Sep 17 00:00:00 2001 From: Zmago Devetak Date: Thu, 5 Apr 2018 16:46:09 +0200 Subject: [PATCH] refactor --- app/helpers/tiny_mce_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/tiny_mce_helper.rb b/app/helpers/tiny_mce_helper.rb index 90ae67c64..f35b7e005 100644 --- a/app/helpers/tiny_mce_helper.rb +++ b/app/helpers/tiny_mce_helper.rb @@ -29,9 +29,9 @@ module TinyMceHelper if pdf_export_ready report_image_asset_url(img, :tiny_mce_asset, 'tiny-mce-pdf-ready') else - image_tag img.url, + image_tag(img.url, class: 'img-responsive', - data: { token: Base62.encode(img.id) } + data: { token: Base62.encode(img.id) }) end end end