Sha256: 6c34d5083f9f998b2bb3bd81776f5fdb9e8ec75ab3503560885d27822acca086
Contents?: true
Size: 192 Bytes
Versions: 1
Compression:
Stored size: 192 Bytes
Contents
module Permit class <%= permit_name %> < Base def initialize(ability) super end def permit?(user, request=nil) super <%= permit logic %> end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cancan-permits-0.1.0 | lib/generators/permits/templates/permit.rb |