Module: Admin::UsersHelper

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

Instance Method Summary collapse

Instance Method Details

#list_roles(user) ⇒ Object



2
3
4
# File 'app/helpers/admin/users_helper.rb', line 2

def list_roles(user)
  user.roles.collect {|role| role.name}.join ", "    
end