Sha256: a1f8bf61ed3e932639cbaa2ba1f6f55d5b4a22d17747113cd1d96163d91aa58e
Contents?: true
Size: 356 Bytes
Versions: 6
Compression:
Stored size: 356 Bytes
Contents
module Worthwhile module ThumbnailHelper def thumbnail_tag(document, image_options) if document.representative.present? image_tag download_path(document.representative, datastream_id: 'thumbnail'), alt: 'Thumbnail', class: "canonical-image" else content_tag :span, '', class: 'canonical-image' end end end end
Version data entries
6 entries across 6 versions & 1 rubygems