class Blacklight::Configuration::ViewConfig::Show
Public Instance Methods
Source
# File lib/blacklight/configuration/view_config.rb, line 57 def document_presenter_class super || Blacklight::ShowPresenter end
@!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
Source
# File lib/blacklight/configuration/view_config.rb, line 61 def to_h super.merge(document_presenter_class: document_presenter_class) end
Calls superclass method
Blacklight::OpenStructWithHashAccess#to_h