mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-28 01:53:25 +00:00
Add needed permitted attributes to admin/customers_controller
This commit is contained in:
@@ -83,8 +83,9 @@ module Admin
|
||||
|
||||
def customer_params
|
||||
params.require(:customer).permit(
|
||||
:enterprise_id, :email,
|
||||
ship_address_attributes: permitted_address_attributes
|
||||
:enterprise_id, :name, :email, :code, :tag_list,
|
||||
ship_address_attributes: permitted_address_attributes,
|
||||
bill_address_attributes: permitted_address_attributes,
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user