summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/solidus_subscriptions/subscription.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/solidus_subscriptions/subscription.rb b/app/models/solidus_subscriptions/subscription.rb
index 6d5d2f3..33a58f4 100644
--- a/app/models/solidus_subscriptions/subscription.rb
+++ b/app/models/solidus_subscriptions/subscription.rb
@@ -24,7 +24,7 @@ module SolidusSubscriptions
accepts_nested_attributes_for :shipping_address
accepts_nested_attributes_for :billing_address
- accepts_nested_attributes_for :line_items, allow_destroy: true, reject_if: -> (p) { p[:quantity].blank? }
+ accepts_nested_attributes_for :line_items, allow_destroy: true, reject_if: ->(p) { p[:quantity].blank? }
before_validation :set_payment_method
before_update :update_actionable_date_if_interval_changed