Sha256: 9a511231e58eaf4bfbdf0e9446cb1a7a6af85b31adee5570622226af52064652
Contents?: true
Size: 207 Bytes
Versions: 22
Compression:
Stored size: 207 Bytes
Contents
class EditorRoleGroupPermit < CanTango::RoleGroupPermit def initialize ability super end protected def static_rules can :read, [Comment, Post, Article] can :create, Article end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
cantango-0.8.5.1 | spec/devise-dummy/app/permits/role_groups/editor_permit.rb |
cantango-0.8.0 | spec/devise-dummy/app/permits/role_groups/editor_permit.rb |