diff options
Diffstat (limited to 'lib/solidus_subscriptions/permitted_attributes.rb')
-rw-r--r-- | lib/solidus_subscriptions/permitted_attributes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/solidus_subscriptions/permitted_attributes.rb b/lib/solidus_subscriptions/permitted_attributes.rb index 2f50414..c93b10b 100644 --- a/lib/solidus_subscriptions/permitted_attributes.rb +++ b/lib/solidus_subscriptions/permitted_attributes.rb @@ -5,13 +5,13 @@ module SolidusSubscriptions module PermittedAttributes class << self def update_spree_permiteed_attributes - Spree::PermittedAttributes.line_item_attributes << { + ::Spree::PermittedAttributes.line_item_attributes << { subscription_line_items_attributes: nested( subscription_line_item_attributes ) } - Spree::PermittedAttributes.user_attributes << { + ::Spree::PermittedAttributes.user_attributes << { subscriptions_attributes: nested(subscription_attributes) } end |