Sha256: 457de638fac110f36d33df21b1891c44eac9287316aaaaf59d59fc4059e68a32

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

module GalleriaHelper
  
  def attachment_galleria_image_tag( attachment )
    image_tag attachment.medium_url, data: {
      thumb: attachment.thumb_url,
      big: attachment.file_url,
      title: attachment.title,
      description: attachment.description,
      #link: attachment.file_url,
    }
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 app/helpers/galleria_helper.rb
your_platform-1.0.0 app/helpers/galleria_helper.rb
your_platform-0.0.2 app/helpers/galleria_helper.rb