class Blacklight::Configuration::ViewConfig::Show

Public Instance Methods

document_presenter_class() click to toggle source

@!attribute route

@return [Hash] Default route parameters for 'show' requests.
  Set this to a hash with additional arguments to merge into the route,
  or set `controller: :current` to route to the current controller.
Calls superclass method
# File lib/blacklight/configuration/view_config.rb, line 45
def document_presenter_class
  super || Blacklight::ShowPresenter
end
to_h() click to toggle source
# File lib/blacklight/configuration/view_config.rb, line 49
def to_h
  super.merge(document_presenter_class: document_presenter_class)
end