From ac97de15b4afc29498e94fa05ae3eced1899eed6 Mon Sep 17 00:00:00 2001 From: Alessandro Desantis Date: Sat, 13 Jun 2020 18:13:36 +0200 Subject: Update decorator namespaces to be compliant with Zeitwerk --- lib/solidus_subscriptions/permitted_attributes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/solidus_subscriptions/permitted_attributes.rb') 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 -- cgit v1.2.3