Sha256: 074a041fb65cbb9d2f05c22163d06b773ac5a7300204b138ec462351748344ca
Contents?: true
Size: 532 Bytes
Versions: 12
Compression:
Stored size: 532 Bytes
Contents
module SpreeMultiStore module Api module ShipmentsControllerDecorator def self.included(base) base.alias_method_chain :mine, :store_scope end def mine_with_store_scope mine_without_store_scope @shipments = @shipments.where(spree_orders: { store_id: current_store.id }) if @shipments end end end end Spree::Api::ShipmentsController.include SpreeMultiStore::Api::ShipmentsControllerDecorator Spree::Api::ShipmentsController.include SpreeMultiDomain::CreateLineItemSupport
Version data entries
12 entries across 12 versions & 1 rubygems