Module: Card::Set::Abstract::AccountDropdown::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod031-layout/abstract/account_dropdown.rb
Instance Method Summary collapse
Instance Method Details
#account_dropdown(&render_role_item) ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'platypus/tmp/set/gem-defaults/mod031-layout/abstract/account_dropdown.rb', line 14 def account_dropdown &render_role_item class_up "dropdown-toggle-split", "nav-link" link_to_mycard do [ [[Auth.current, :account_settings], "Account"], [:signin, t("account_sign_out"), { path: { action: :delete } }] ] + account_dropdown_roles(&render_role_item) end end |