Sha256: 5b387b9f6284425f3cb987255fb7295252f56303bc2c9be684c6ee07485c967a
Contents?: true
Size: 372 Bytes
Versions: 6
Compression:
Stored size: 372 Bytes
Contents
class <%= user.to_s.camelize %>Permit < CanTango::UserPermit def initialize ability super end protected def permit_rules # insert your can, cannot and any other rule statements here <%= permit_logic.strip %> <%= license_logic %> end module Cached def permit_rules end end module NonCached def permit_rules end end end
Version data entries
6 entries across 6 versions & 2 rubygems