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.6.pre spec/support/templates/policies/store_policy.rb
yousty-activeadmin-1.0.5.pre spec/support/templates/policies/store_policy.rb
activeadmin_polymorphic-0.1.0 spec/support/templates/policies/store_policy.rb
active_administration-0.0.3 spec/support/templates/policies/store_policy.rb
activeadministration-0.0.2 spec/support/templates/policies/store_policy.rb
active_administration-0.0.2 spec/support/templates/policies/store_policy.rb
activeadministration-0.0.1 spec/support/templates/policies/store_policy.rb
active_administration-0.0.1 spec/support/templates/policies/store_policy.rb