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
activeadmin-rails-1.7.1 spec/support/templates/policies/store_policy.rb
activeadmin-rails-1.7.0 spec/support/templates/policies/store_policy.rb
activeadmin-rb-1.6.0 spec/support/templates/policies/store_policy.rb
activeadmin-rb-1.5.2 spec/support/templates/policies/store_policy.rb
activeadmin-rb-1.5.1 spec/support/templates/policies/store_policy.rb
activeadmin-rb-1.5.0 spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/store_policy.rb
activeadmin-rb-1.4.0 spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/store_policy.rb
activeadmin-1.3.1 spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/store_policy.rb
activeadmin-1.3.0 spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/support/templates/policies/store_policy.rb
activeadmin-1.2.1 spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/support/templates/policies/store_policy.rb
activeadmin-1.2.0 spec/support/templates/policies/store_policy.rb
activeadmin_addons-1.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/support/templates/policies/store_policy.rb