lib/devise_authorizable/model/role.rb
# DeviseAuthorizable has two build in roles for +guest+ and +authenticated+
# users. This method returns those roles for the current user.
DeviseAuthorizable has two build in roles for +guest+ and +authenticated+
users. This method returns those roles for the current user.
DeviseAuthorizable has two build in roles for + guest + and + authenticated + users . This method returns those roles for the current user .
def system_roles
          roles = []
          roles << :guest if guest?
          roles << :authenticated if authenticated?
          roles
        end
def system_roles roles = [ ] roles << :guest if guest? roles << :authenticated if authenticated? roles end
DeviseAuthorizable has two build in roles for +guest+ and +authenticated+
users.
DeviseAuthorizable has two build in roles for + guest + and + authenticated + users .