Sha256: 253aaae885ec98ff490811631a53527e2211c0772ca6f3161c680c3029a116be

Contents?: true

Size: 284 Bytes

Versions: 79

Compression:

Stored size: 284 Bytes

Contents

<% module_namespacing do -%>
# Policy for <%= controller_class_name.singularize %> model
class <%= controller_class_name.singularize %>Policy < ControllerPolicy
  attr_reader :user, :objects

  def initialize(user, objects)
    @user = user
    @objects = objects
  end
end
<% end -%>

Version data entries

79 entries across 31 versions & 1 rubygems

Version Path
keppler-2.1.9 installer/core/rockets/keppler_capsules/lib/generators/keppler_capsule_scaffold/templates/policies/policy.rb
keppler-2.1.9 installer/core/rockets/keppler_frontend/lib/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.8 installer/core/rockets/keppler_capsules/lib/generators/keppler_capsule_scaffold/templates/policies/policy.rb
keppler-2.1.8 installer/plugins/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.8 installer/core/rockets/keppler_frontend/lib/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.7 installer/core/rockets/keppler_capsules/lib/generators/keppler_capsule_scaffold/templates/policies/policy.rb
keppler-2.1.7 installer/core/rockets/keppler_frontend/lib/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.7 installer/plugins/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.6 installer/core/rockets/keppler_capsules/lib/generators/keppler_capsule_scaffold/templates/policies/policy.rb
keppler-2.1.6 installer/core/rockets/keppler_frontend/lib/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.6 installer/plugins/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.5 installer/core/rockets/keppler_capsules/lib/generators/keppler_capsule_scaffold/templates/policies/policy.rb
keppler-2.1.5 installer/core/rockets/keppler_frontend/lib/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.5 installer/plugins/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.4 installer/plugins/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.4 installer/core/rockets/keppler_capsules/lib/generators/keppler_capsule_scaffold/templates/policies/policy.rb
keppler-2.1.4 installer/core/rockets/keppler_frontend/lib/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.3 installer/plugins/generators/keppler_scaffold/templates/policies/policy.rb
keppler-2.1.3 installer/core/rockets/keppler_capsules/lib/generators/keppler_capsule_scaffold/templates/policies/policy.rb
keppler-2.1.3 installer/core/rockets/keppler_frontend/lib/generators/keppler_scaffold/templates/policies/policy.rb