Use the instance currency as Money's default

This commit is contained in:
Pau Perez
2021-03-09 09:00:37 +01:00
parent 7792bc34c8
commit 9c642e2957

View File

@@ -1,2 +1,2 @@
Money.rounding_mode = BigDecimal::ROUND_HALF_EVEN
Money.default_currency = Money::Currency.new('USD')
Money.default_currency = Money::Currency.new(Spree::Config[:currency])