Module: IiifPrint::FileSetPresenterDecorator
- Defined in:
- app/presenters/iiif_print/file_set_presenter_decorator.rb
Instance Method Summary collapse
-
#show_split_button? ⇒ Boolean
uses Hyku’s TenantConfig to determine whether to allow PDF splitting button.
Instance Method Details
#show_split_button? ⇒ Boolean
uses Hyku’s TenantConfig to determine whether to allow PDF splitting button
6 7 8 9 |
# File 'app/presenters/iiif_print/file_set_presenter_decorator.rb', line 6 def return parent.try(:split_pdfs?) if parent.respond_to?(:split_pdfs?) true end |