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_classObject



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


10
11
12
# File 'app/helpers/wobauth/application_helper.rb', line 10

def 
  render partial: 'wobauth/shared/accounting'
end


6
7
8
# File 'app/helpers/wobauth/application_helper.rb', line 6

def navigation_admin_links
  render partial: 'wobauth/shared/admin'
end