mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-04 07:09:14 +00:00
Switch to using PermittedAttributes::Address instead of spree version of it that will be removed later
This commit is contained in:
@@ -45,8 +45,8 @@ module Spree
|
||||
params.require(:order).permit(
|
||||
:email,
|
||||
:use_billing,
|
||||
:bill_address_attributes => permitted_address_attributes,
|
||||
:ship_address_attributes => permitted_address_attributes
|
||||
bill_address_attributes: PermittedAttributes::Address.attributes,
|
||||
ship_address_attributes: PermittedAttributes::Address.attributes
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user