Module: Admin::AlterationsHelper

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

Instance Method Summary collapse

Instance Method Details

#roles(user) ⇒ Object



2
3
4
5
6
7
8
# File 'app/helpers/admin/alterations_helper.rb', line 2

def roles(user)
  list = []
  user.roles.each do |role|
    list << role.role_name
  end
  list.join(', ')
end