mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Switch to using PermittedAttributes::Address instead of spree version of it that will be removed later
This commit is contained in:
@@ -84,8 +84,8 @@ module Admin
|
||||
def customer_params
|
||||
params.require(:customer).permit(
|
||||
:enterprise_id, :name, :email, :code, :tag_list,
|
||||
ship_address_attributes: permitted_address_attributes,
|
||||
bill_address_attributes: permitted_address_attributes,
|
||||
ship_address_attributes: PermittedAttributes::Address.attributes,
|
||||
bill_address_attributes: PermittedAttributes::Address.attributes,
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user