Class: Arclight::ConstraintsComponent

Inherits:
Blacklight::ConstraintsComponent
  • Object
show all
Defined in:
app/components/arclight/constraints_component.rb

Overview

Extend the upstream constraints with breadcrumbs and repository context information

Instance Method Summary collapse

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

#repositoryObject



13
14
15
# File 'app/components/arclight/constraints_component.rb', line 13

def repository
  @repository ||= helpers.repository_faceted_on
end