mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-05 02:41:33 +00:00
Switch to using PermittedAttributes::Address instead of spree version of it that will be removed later
This commit is contained in:
@@ -60,7 +60,7 @@ module Admin
|
||||
params.require(:enterprise_group).permit(
|
||||
:name, :description, :long_description, :on_front_page, :owner_id, :permalink,
|
||||
:email, :website, :facebook, :instagram, :linkedin, :twitter,
|
||||
enterprise_ids: [], address_attributes: permitted_address_attributes
|
||||
enterprise_ids: [], address_attributes: PermittedAttributes::Address.attributes
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user