app/models/calculator/free_shipping.rb in spree_promo-0.30.2 vs app/models/calculator/free_shipping.rb in spree_promo-0.40.0
- old
+ new
@@ -3,10 +3,10 @@
def self.description
I18n.t("free_shipping")
end
def self.register
- super
+ super
Promotion.register_calculator(self)
end
def compute(object)
if object.is_a?(Array)