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.9.3 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9.3 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9.2 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9.2 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9.1 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9.1 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.8.1 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.8.1 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.8 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.8 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.7 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.7 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.6.2 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.6.2 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.6.1 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.6.1 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.6 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.6 spec/dummy/app/permits/roles/admin_permit.rb