Module: Admin::ImagesHelper
- Defined in:
- app/helpers/admin/images_helper.rb
Instance Method Summary collapse
Instance Method Details
#display_image_links(image) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'app/helpers/admin/images_helper.rb', line 4 def display_image_links(image) html = "" html << "<strong>#{t('images.styles.original')}</strong> : #{image.image.url(:original, false)}<br/>" image.image.styles.each do |style, file| html << "<strong>#{t("images.styles.#{style}")}</strong> : #{image.image.url(style, false)}<br/>" end html end |