diff --git a/app/controllers/admin/customers_controller.rb b/app/controllers/admin/customers_controller.rb index b3b8b87ffb..2a600db3bd 100644 --- a/app/controllers/admin/customers_controller.rb +++ b/app/controllers/admin/customers_controller.rb @@ -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