Sha256: dfe2c526e76d39a5a5ab82eb21a3033b85f56ba1aafc99013de4bfbf89a080ed
Contents?: true
Size: 530 Bytes
Versions: 5
Compression:
Stored size: 530 Bytes
Contents
module Spree module Admin module ShippingMethodsControllerDecorator private # We have to override those filters since they break proper PATCH behaviour. def set_shipping_category super unless params['shipping_method'][:translations_attributes] end def set_zones super unless params['shipping_method'][:translations_attributes] end end end end SpreeMobility.prepend_once(::Spree::Admin::ShippingMethodsController, Spree::Admin::ShippingMethodsControllerDecorator)
Version data entries
5 entries across 5 versions & 1 rubygems