Class: Arclight::SidebarComponent
- Inherits:
-
Blacklight::Document::SidebarComponent
- Object
- Blacklight::Document::SidebarComponent
- Arclight::SidebarComponent
- Defined in:
- app/components/arclight/sidebar_component.rb
Overview
A sidebar with collection context widget and tools
Instance Method Summary collapse
Instance Method Details
#collection_context ⇒ Object
9 10 11 |
# File 'app/components/arclight/sidebar_component.rb', line 9 def collection_context render Arclight::CollectionContextComponent.new(presenter: document_presenter(document), download_component: Arclight::DocumentDownloadComponent) end |
#collection_sidebar ⇒ Object
13 14 15 16 17 |
# File 'app/components/arclight/sidebar_component.rb', line 13 def render Arclight::CollectionSidebarComponent.new(document: document, collection_presenter: document_presenter(document.collection), partials: blacklight_config.show.) end |