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, #search_header_component, #template, #title_field
Instance Method Summary collapse
Methods inherited from Blacklight::Configuration::ViewConfig
Methods inherited from OpenStructWithHashAccess
#deep_dup, #deep_transform_values, #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.
      57 58 59  | 
    
      # File 'lib/blacklight/configuration/view_config.rb', line 57 def document_presenter_class super || Blacklight::ShowPresenter end  | 
  
Instance Method Details
#document_presenter_class ⇒ Object
      57 58 59  | 
    
      # File 'lib/blacklight/configuration/view_config.rb', line 57 def document_presenter_class super || Blacklight::ShowPresenter end  | 
  
#to_h ⇒ Object
      61 62 63  | 
    
      # File 'lib/blacklight/configuration/view_config.rb', line 61 def to_h super.merge(document_presenter_class: document_presenter_class) end  |