Sha256: 7711828f7f48aca6ce1b28d236194548582516b9f4b16d05f8fd2403634ceaa6

Contents?: true

Size: 213 Bytes

Versions: 13

Compression:

Stored size: 213 Bytes

Contents

module Spree
  module Admin
    module ProductConcern
      extend ActiveSupport::Concern

      def product_scope
        current_store.products.accessible_by(current_ability, :index)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spree_backend-4.3.3 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.5.1 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.5.0 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.3.2 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.4.1 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.4.0 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.4.0.rc2 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.3.1 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.4.0.rc1 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.3.0 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.3.0.rc3 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.3.0.rc2 app/controllers/concerns/spree/admin/product_concern.rb
spree_backend-4.3.0.rc1 app/controllers/concerns/spree/admin/product_concern.rb