Class: Radmin::User

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/radmin/user.rb

Instance Method Summary collapse

Instance Method Details

#role_symbolsObject



12
13
14
15
16
# File 'app/models/radmin/user.rb', line 12

def role_symbols  
  roles.map do |role|
    role.name.underscore.to_sym
  end
end