9726 Use active storage filename instead of attachment_file_name of paperclip

This commit is contained in:
AthiraKadampatta
2022-10-07 11:08:52 +05:30
committed by Konrad
parent 1f161bee1f
commit f40b569a4a

View File

@@ -7,7 +7,7 @@
= form_for [:admin, @product, @image], url: admin_product_image_path(@product, @image, @url_filters), html: { multipart: true } do |f|
%fieldset
%legend{align: "center"}= @image.attachment_file_name
%legend{align: "center"}= @image.attachment&.filename
.field.alpha.three.columns.align-center
= f.label t('spree.thumbnail')
%br/