Sha256: 5493120a3ce4b8974e1e7ff24af23225b1bcc96cedc88b2bb9a45f0fb817776a

Contents?: true

Size: 152 Bytes

Versions: 44

Compression:

Stored size: 152 Bytes

Contents

class AdminRolePermit < CanTango::RolePermit
  def initialize ability
    super
  end

  protected

  def static_rules
    can :manage, :all
  end
end

Version data entries

44 entries across 22 versions & 1 rubygems

Version Path
cantango-0.8.5.1 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.5.1 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.0 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.0 spec/dummy/app/permits/roles/admin_permit.rb