Sha256: f4f0c867b6ee55239169f8ec03687f6953f5ad2b44fd07fa1d88ad0c46aea5a7

Contents?: true

Size: 286 Bytes

Versions: 16

Compression:

Stored size: 286 Bytes

Contents

class <%= permit_name.to_s.camelize %>RoleGroupPermit < CanTango::RoleGroupPermit
  def initialize ability
    super
  end

  protected

  def permit_rules
    # insert your can, cannot and any other rule statements here
    <%= rules_logic.strip %>
    <%= license_logic %>
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
cantango-0.9.4.1 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.9.4 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.9.3.2 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.9.5 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.9.4 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.9.3 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.9.2 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.9.1 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.9 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.8.1 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.8 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.7 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.6.2 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.6.1 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.6 lib/generators/cantango/role_permit/templates/role_group_permit.erb
cantango-0.8.5.1 lib/generators/cantango/role_permit/templates/role_group_permit.erb