Sha256: 23813ac4bc19fbf8c4692a8ff6b18e2692443268b09942116cd40327d23dae90

Contents?: true

Size: 129 Bytes

Versions: 68

Compression:

Stored size: 129 Bytes

Contents

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

Version data entries

68 entries across 68 versions & 10 rubygems

Version Path
activeadmin_polymorphic-0.3.5 spec/support/templates/policies/category_policy.rb
activeadmin-1.0.0.pre4 spec/support/templates/policies/category_policy.rb
activeadmin-1.0.0.pre3 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.3.4 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.3.3 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.3.2 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.3.1 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.3.0 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.2.3 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.2.2 spec/support/templates/policies/category_policy.rb
activeadmin-1.0.0.pre2 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.2.1 spec/support/templates/policies/category_policy.rb
activeadmin-magicfields-0.4.2 spec/support/templates/policies/category_policy.rb
activeadmin-magicfields-0.4.1 spec/support/templates/policies/category_policy.rb
activeadmin-magicfields-0.4.0 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.2.0 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.1.2 spec/support/templates/policies/category_policy.rb
activeadmin_polymorphic-0.1.1 spec/support/templates/policies/category_policy.rb
activeadmin-1.0.0.pre1 spec/support/templates/policies/category_policy.rb
yousty-activeadmin-1.0.7.pre spec/support/templates/policies/category_policy.rb