Sha256: b425a2004f11e9441f2f9a246c38f3cc5b5d03581be318204068e7c932650738

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

class <%= role_group.to_s.camelize %>RoleGroupPermit < CanTango::PermitEngine::RoleGroupPermit
  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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cantango-0.8.0 lib/generators/cantango/role_permit/templates/role_group_permit.erb