Sha256: e0894652aaac0ba00864896778b631ca21e70921be3e5b635764f9f2ba652275

Contents?: true

Size: 164 Bytes

Versions: 49

Compression:

Stored size: 164 Bytes

Contents

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

Version data entries

49 entries across 49 versions & 8 rubygems

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