Module: CanTango::Helpers::RoleGroup

Included in:
Ability::Helper::RoleGroup
Defined in:
lib/cantango/roles_ext/helpers/role_group.rb

Instance Method Summary collapse

Instance Method Details

#configObject



8
9
10
# File 'lib/cantango/roles_ext/helpers/role_group.rb', line 8

def config
  CanTango.config
end

#role_group_method(name) ⇒ Object



4
5
6
# File 'lib/cantango/roles_ext/helpers/role_group.rb', line 4

def role_group_method name
  config.roles_groups.method_names[name]
end