Sha256: 76e952b2834066bc2062b87a42dc92102c5a9e75b7c0b62124a627383093721e
Contents?: true
Size: 391 Bytes
Versions: 2
Compression:
Stored size: 391 Bytes
Contents
module Admin module ImagesHelper 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 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
merrycms-0.1.7 | app/helpers/admin/images_helper.rb |
merrycms-0.1.4 | app/helpers/admin/images_helper.rb |