app/models/calculator/free_shipping.rb in spree_promo-0.70.0.rc2 vs app/models/calculator/free_shipping.rb in spree_promo-0.70.0
- old
+ new
@@ -2,14 +2,9 @@
def self.description
I18n.t("free_shipping")
end
- def self.register
- super
- Promotion.register_calculator(self)
- end
-
def compute(object)
if object.is_a?(Array)
return if object.empty?
order = object.first.order
else