diff options
author | John Hawthorn <john@stembolt.com> | 2017-04-18 14:09:04 -0700 |
---|---|---|
committer | Brendan Deere <brendan.g.deere@gmail.com> | 2017-05-23 03:43:05 -0700 |
commit | 39ddf50e18dd49c16f25a088fa9688d69a613821 (patch) | |
tree | 1d7410d91a3b5f0a339bd9f298ded9b5917d9a06 /app/models/solidus_subscriptions | |
parent | 47735dc25a80b2b95432814341c32c31205a0852 (diff) |
Use order.update! instead of update_totals
update_totals is a private method in Solidus 2.2, and should not be
used.
Diffstat (limited to 'app/models/solidus_subscriptions')
-rw-r--r-- | app/models/solidus_subscriptions/checkout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/solidus_subscriptions/checkout.rb b/app/models/solidus_subscriptions/checkout.rb index 970dd61..22882b7 100644 --- a/app/models/solidus_subscriptions/checkout.rb +++ b/app/models/solidus_subscriptions/checkout.rb @@ -65,7 +65,7 @@ module SolidusSubscriptions private def checkout - order.update_totals + order.update! apply_promotions order.next! # cart => address |