Sha256: a6b49422cb8de61a105ade6001ffdb93efec62f9d3120d3af8e02a89d4952ad4

Contents?: true

Size: 270 Bytes

Versions: 9

Compression:

Stored size: 270 Bytes

Contents

module SpreeMultiVendor::Spree::Admin::VariantsControllerDecorator
  def self.prepended(base)
    base.before_action :set_vendor_id, only: [:create, :update]
  end
end

Spree::Admin::VariantsController.prepend SpreeMultiVendor::Spree::Admin::VariantsControllerDecorator

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_multi_vendor-2.5.0 app/controllers/spree_multi_vendor/spree/admin/variants_controller_decorator.rb
spree_multi_vendor-2.4.1 app/controllers/spree_multi_vendor/spree/admin/variants_controller_decorator.rb
atkhayar-dev-spree-multi-vendor-0.0.0 app/controllers/spree_multi_vendor/spree/admin/variants_controller_decorator.rb
spree_multi_vendor-2.4.0 app/controllers/spree_multi_vendor/spree/admin/variants_controller_decorator.rb
spree_multi_vendor-2.3.0 app/controllers/spree_multi_vendor/spree/admin/variants_controller_decorator.rb
spree_multi_vendor-2.2.0 app/controllers/spree_multi_vendor/spree/admin/variants_controller_decorator.rb
spree_multi_vendor-2.1.0 app/controllers/spree_multi_vendor/spree/admin/variants_controller_decorator.rb
spree_multi_vendor-2.0.2 app/controllers/spree_multi_vendor/spree/admin/variants_controller_decorator.rb
spree_multi_vendor-2.0.1 app/controllers/spree_multi_vendor/spree/admin/variants_controller_decorator.rb