Sha256: ddfe73076cc16e23d01372c00c63ce79e45749fdaf6e1bfbf8623b9f6eff4034
Contents?: true
Size: 224 Bytes
Versions: 1
Compression:
Stored size: 224 Bytes
Contents
class <%= permit_name.to_s.camelize %>Permit < Permit::Base def initialize(ability) super end def permit?(user, request=nil) super <%= permit_logic %> licenses :user_admin, :blogging end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cancan-permits-0.1.1 | lib/generators/permits/templates/permit.rb |