Sha256: 6536492e2d387da7f350ab133d44a96f13fa2f411059805d12ad7cf7c2bb640a
Contents?: true
Size: 380 Bytes
Versions: 11
Compression:
Stored size: 380 Bytes
Contents
# frozen_string_literal: true module Blacklight module Gallery class DocumentComponent < Blacklight::DocumentComponent def before_render thumbnail(image_options: { class: 'img-thumbnail' }) unless thumbnail.present? super end def render_document_class(*args) @view_context.render_document_class(*args) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems