Class: Arclight::ConstraintsComponent
- Inherits:
-
Blacklight::ConstraintsComponent
- Object
- Blacklight::ConstraintsComponent
- Arclight::ConstraintsComponent
- Defined in:
- app/components/arclight/constraints_component.rb
Overview
Extend the upstream constraints with breadcrumbs and repository context information
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ ConstraintsComponent
constructor
A new instance of ConstraintsComponent.
- #repository ⇒ Object
Constructor Details
#initialize(**kwargs) ⇒ ConstraintsComponent
Returns a new instance of ConstraintsComponent.
7 8 9 10 11 |
# File 'app/components/arclight/constraints_component.rb', line 7 def initialize(**kwargs) super @kwargs = kwargs end |
Instance Method Details
#repository ⇒ Object
13 14 15 |
# File 'app/components/arclight/constraints_component.rb', line 13 def repository @repository ||= helpers.repository_faceted_on end |