Module: Pageflow::Admin::UsersHelper

Defined in:
app/helpers/pageflow/admin/users_helper.rb

Instance Method Summary collapse

Instance Method Details

#collection_for_user_rolesObject


4
5
6
# File 'app/helpers/pageflow/admin/users_helper.rb', line 4

def collection_for_user_roles
  User.roles_accessible_by(current_ability).index_by { |role| t(role, :scope => 'admin.users.roles') }
end