Sha256: 5aa4f297dedfc2752617f71e4fdce9b7c848cbb869bbd585d037f03e4c9c0287
Contents?: true
Size: 347 Bytes
Versions: 18
Compression:
Stored size: 347 Bytes
Contents
module Hyrax module IiifHelper def iiif_viewer_display(work_presenter, locals = {}) render iiif_viewer_display_partial(work_presenter), locals.merge(presenter: work_presenter) end def iiif_viewer_display_partial(work_presenter) 'hyrax/base/iiif_viewers/' + work_presenter.iiif_viewer.to_s end end end
Version data entries
18 entries across 18 versions & 1 rubygems