diff options
Diffstat (limited to 'lib/solidus_subscriptions')
-rw-r--r-- | lib/solidus_subscriptions/config.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/solidus_subscriptions/config.rb b/lib/solidus_subscriptions/config.rb index 3b6f714..f0e3d88 100644 --- a/lib/solidus_subscriptions/config.rb +++ b/lib/solidus_subscriptions/config.rb @@ -73,7 +73,7 @@ module SolidusSubscriptions # :subscribable_id # ] # ``` - + # # This configuration also easily allows the gem to be customized to track # more information on the subcriptions line items. mattr_accessor(:subscription_line_item_attributes) do @@ -88,6 +88,11 @@ module SolidusSubscriptions # SolidusSubscriptions::Subscription attributes which are allowed to # be updated from user data - mattr_accessor(:subscription_attributes) { [:actionable_date] } + mattr_accessor(:subscription_attributes) do + [ + :actionable_date, + shipping_address_attributes: Spree::PermittedAttributes.address_attributes + ] + end end end |