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.9.4.7 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.7 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.6 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.6 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.5 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.5 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.3 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.3 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.2 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.2 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.1 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4.1 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.9.4 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.9.3.2 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.9.3.2 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9.5 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9.5 spec/dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9.4 spec/devise-dummy/app/permits/roles/admin_permit.rb
cantango-0.8.9.4 spec/dummy/app/permits/roles/admin_permit.rb