summaryrefslogtreecommitdiff
path: root/lib/solidus_subscriptions/permitted_attributes.rb
diff options
context:
space:
mode:
authorAlessandro Desantis <desa.alessandro@gmail.com>2020-06-13 18:13:36 +0200
committerAlessandro Desantis <desa.alessandro@gmail.com>2020-06-13 18:13:36 +0200
commitac97de15b4afc29498e94fa05ae3eced1899eed6 (patch)
tree4570e1c77836b6b5f1fb015c46dfbcec08c8554b /lib/solidus_subscriptions/permitted_attributes.rb
parent94f3b5c502ae72e8000b79f38fae1912a018ae81 (diff)
Update decorator namespaces to be compliant with Zeitwerk
Diffstat (limited to 'lib/solidus_subscriptions/permitted_attributes.rb')
-rw-r--r--lib/solidus_subscriptions/permitted_attributes.rb4
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