Module: IiifPrint::FileSetPresenterDecorator

Defined in:
app/presenters/iiif_print/file_set_presenter_decorator.rb

Instance Method Summary collapse

Instance Method Details

#show_split_button?Boolean

uses Hyku’s TenantConfig to determine whether to allow PDF splitting button

Returns:

  • (Boolean)


6
7
8
9
# File 'app/presenters/iiif_print/file_set_presenter_decorator.rb', line 6

def show_split_button?
  return parent.try(:split_pdfs?) if parent.respond_to?(:split_pdfs?)
  true
end