Class: Spina::Pages::ActionsComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Spina::Pages::ActionsComponent
- Defined in:
- app/components/spina/pages/actions_component.rb
Instance Method Summary collapse
-
#initialize(page:, locale: I18n.locale) ⇒ ActionsComponent
constructor
A new instance of ActionsComponent.
Constructor Details
#initialize(page:, locale: I18n.locale) ⇒ ActionsComponent
Returns a new instance of ActionsComponent.
4 5 6 7 |
# File 'app/components/spina/pages/actions_component.rb', line 4 def initialize(page:, locale: I18n.locale) @page = page @locale = locale end |