Fix problem in PermittedAttributes::Address namespace

This commit is contained in:
Luis Ramos
2020-03-21 22:34:25 +00:00
parent 6b62c8aafd
commit b7cb95ae3e

View File

@@ -45,8 +45,8 @@ module Spree
params.require(:order).permit(
:email,
:use_billing,
bill_address_attributes: PermittedAttributes::Address.attributes,
ship_address_attributes: PermittedAttributes::Address.attributes
bill_address_attributes: ::PermittedAttributes::Address.attributes,
ship_address_attributes: ::PermittedAttributes::Address.attributes
)
end