Class: SolidusAdmin::Sidebar::AccountNav::Component
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- SolidusAdmin::Sidebar::AccountNav::Component
- Defined in:
- app/components/solidus_admin/sidebar/account_nav/component.rb
Overview
Account navigation
Instance Method Summary collapse
-
#initialize(user_label:, account_path:, logout_path:, logout_method:) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(user_label:, account_path:, logout_path:, logout_method:) ⇒ Component
Returns a new instance of Component.
9 10 11 12 13 14 |
# File 'app/components/solidus_admin/sidebar/account_nav/component.rb', line 9 def initialize(user_label:, account_path:, logout_path:, logout_method:) @user_label = user_label @account_path = account_path @logout_path = logout_path @logout_method = logout_method end |