Sha256: cae4120e447ee97b958a44ada8dfc1f3f185cd95f9109f93f08c80351936f25e

Contents?: true

Size: 158 Bytes

Versions: 68

Compression:

Stored size: 158 Bytes

Contents

class StorePolicy < ApplicationPolicy
  class Scope < Struct.new(:user, :scope)
    def resolve
      scope
    end
  end

  def destroy?
    false
  end
end

Version data entries

68 entries across 68 versions & 10 rubygems

Version Path
yousty-activeadmin-1.0.17.pre spec/support/templates/policies/store_policy.rb
yousty-activeadmin-1.0.16.pre spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.0.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.0.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/support/templates/policies/store_policy.rb
activeadmin-1.1.0 spec/support/templates/policies/store_policy.rb
yousty-activeadmin-1.0.15.pre spec/support/templates/policies/store_policy.rb
activeadmin-1.0.0 spec/support/templates/policies/store_policy.rb
activeadmin-1.0.0.pre5 spec/support/templates/policies/store_policy.rb
activeadmin-orac-1.0.0.pre4 spec/support/templates/policies/store_policy.rb
activeadmin-orac-1.0.0 spec/support/templates/policies/store_policy.rb
activeadmin-orac-1.0.0.pre.orac spec/support/templates/policies/store_policy.rb
yousty-activeadmin-1.0.14.pre spec/support/templates/policies/store_policy.rb
yousty-activeadmin-1.0.13.pre spec/support/templates/policies/store_policy.rb
yousty-activeadmin-1.0.12.pre spec/support/templates/policies/store_policy.rb
yousty-activeadmin-1.0.11.pre spec/support/templates/policies/store_policy.rb
yousty-activeadmin-1.0.10.pre spec/support/templates/policies/store_policy.rb
yousty-activeadmin-1.0.9.pre spec/support/templates/policies/store_policy.rb
yousty-activeadmin-1.0.8.pre spec/support/templates/policies/store_policy.rb
activeadmin_polymorphic-0.3.6 spec/support/templates/policies/store_policy.rb