Class: Blacklight::StartOverButtonComponent
- Inherits:
-
Component
- Object
- ViewComponent::Base
- Component
- Blacklight::StartOverButtonComponent
show all
- Defined in:
- app/components/blacklight/start_over_button_component.rb
Constant Summary
Constants inherited
from Component
Component::EXCLUDE_VARIABLES
Instance Method Summary
collapse
Methods inherited from Component
compiler, config, #inspect
Instance Method Details
#call ⇒ Object
5
6
7
|
# File 'app/components/blacklight/start_over_button_component.rb', line 5
def call
link_to t('blacklight.search.start_over'), start_over_path, class: 'catalog_startOverLink btn btn-primary'
end
|