Remove unused method

This commit is contained in:
David Cook
2024-05-28 11:38:41 +10:00
committed by zanetagebka
parent f97241dce3
commit 2a4d0db0de
2 changed files with 1 additions and 5 deletions

View File

@@ -24,10 +24,6 @@ module Spree
amount
end
def price_changed?
amount_changed?
end
def price=(price)
self[:amount] = parse_price(price)
end

View File

@@ -49,7 +49,7 @@ module Spree
has_many :prices,
class_name: 'Spree::Price',
dependent: :destroy
delegate :display_price, :display_amount, :price, :price_changed?, :price=,
delegate :display_price, :display_amount, :price, :price=,
:currency, :currency=,
to: :find_or_build_default_price