Class: Blacklight::Configuration::ViewConfig::Show
- Inherits:
-
Blacklight::Configuration::ViewConfig
- Object
- OpenStruct
- OpenStructWithHashAccess
- Blacklight::Configuration::ViewConfig
- Blacklight::Configuration::ViewConfig::Show
- Defined in:
- lib/blacklight/configuration/view_config.rb
Instance Attribute Summary collapse
-
#route ⇒ Hash
Default route parameters for 'show' requests.
Attributes inherited from Blacklight::Configuration::ViewConfig
#constraints_component, #display_type_field, #document_actions, #document_component, #facet_group_component, #icon, #partials, #search_bar_component, #template, #title_field
Instance Method Summary collapse
Methods inherited from Blacklight::Configuration::ViewConfig
#display_label, #search_bar_presenter_class
Methods inherited from OpenStructWithHashAccess
#deep_dup, #merge, #merge!, #reverse_merge, #select, #sort_by, #sort_by!, #try
Instance Attribute Details
#route ⇒ Hash
Returns 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.
51 52 53 |
# File 'lib/blacklight/configuration/view_config.rb', line 51 def document_presenter_class super || Blacklight::ShowPresenter end |
Instance Method Details
#document_presenter_class ⇒ Object
51 52 53 |
# File 'lib/blacklight/configuration/view_config.rb', line 51 def document_presenter_class super || Blacklight::ShowPresenter end |
#to_h ⇒ Object
55 56 57 |
# File 'lib/blacklight/configuration/view_config.rb', line 55 def to_h super.merge(document_presenter_class: document_presenter_class) end |