Module: Wobauth::ApplicationHelper
- Includes:
- Wobapphelpers::Helpers::All, Wobapphelpers::Helpers::PolymorphicHelper
- Defined in:
- app/helpers/wobauth/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#admin_active_class ⇒ Object
14 15 16 17 18 |
# File 'app/helpers/wobauth/application_helper.rb', line 14 def admin_active_class if [:users, :groups, :memberships, :roles, :authorities].include?(controller.controller_name.to_sym) "active" end end |
#navigation_account_links ⇒ Object
10 11 12 |
# File 'app/helpers/wobauth/application_helper.rb', line 10 def render partial: 'wobauth/shared/accounting' end |
#navigation_admin_links ⇒ Object
6 7 8 |
# File 'app/helpers/wobauth/application_helper.rb', line 6 def render partial: 'wobauth/shared/admin' end |