Sha256: 3e338b980d97a81a0cb080a390409c0b6c32c5ea3ef4f516134c9ce1717b5319

Contents?: true

Size: 264 Bytes

Versions: 25

Compression:

Stored size: 264 Bytes

Contents

module <%= ROCKET_CLASS_NAME %>
  # Policy for <%= MODULE_CLASS_NAME %> model
  class <%= MODULE_CLASS_NAME %>Policy < ControllerPolicy
    attr_reader :user, :objects

    def initialize(user, objects)
      @user = user
      @objects = objects
    end
  end
end

Version data entries

25 entries across 24 versions & 1 rubygems

Version Path
keppler-2.1.22 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.21 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.20 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.19 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.18 testing-with-2.1.18/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.18 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.17 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.16 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.15 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.14 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.13 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.12 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.11 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.10 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.9 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.8 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.7 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.6 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.5 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb
keppler-2.1.4 installer/core/lib/generators/keppler_add_module/templates/policies/policy.rb