Switch to using PermittedAttributes::Address instead of spree version of it that will be removed later

This commit is contained in:
Luis Ramos
2020-03-21 20:00:26 +00:00
parent 22a005df47
commit e5f56c19c0
5 changed files with 8 additions and 6 deletions

View File

@@ -319,7 +319,7 @@ module Admin
:allow_guest_orders, :allow_order_changes, :enable_subscriptions,
group_ids: [], user_ids: [],
shipping_method_ids: [], payment_method_ids: [],
address_attributes: permitted_address_attributes,
address_attributes: PermittedAttributes::Address.attributes,
producer_properties_attributes: [:id, :property_name, :value, :_destroy]
)
end