This commit is contained in:
Zmago Devetak 2018-04-05 16:46:09 +02:00 committed by GitHub
parent c0cc6c293a
commit 71531ebf12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,9 +29,9 @@ module TinyMceHelper
if pdf_export_ready if pdf_export_ready
report_image_asset_url(img, :tiny_mce_asset, 'tiny-mce-pdf-ready') report_image_asset_url(img, :tiny_mce_asset, 'tiny-mce-pdf-ready')
else else
image_tag img.url, image_tag(img.url,
class: 'img-responsive', class: 'img-responsive',
data: { token: Base62.encode(img.id) } data: { token: Base62.encode(img.id) })
end end
end end
end end