Sha256: 7824b6436817fddc32ab759c3117573e333db4a428adce67ff17f65297a2d66f
Contents?: true
Size: 365 Bytes
Versions: 5
Compression:
Stored size: 365 Bytes
Contents
# frozen_string_literal: true module IiifPrint module FileSetPresenterDecorator # uses Hyku's TenantConfig to determine whether to allow PDF splitting button def show_split_button? return parent.try(:split_pdfs?) if parent.respond_to?(:split_pdfs?) true end end end Hyrax::FileSetPresenter.prepend(IiifPrint::FileSetPresenterDecorator)
Version data entries
5 entries across 5 versions & 1 rubygems