diff --git a/app/services/types_de_champ_service.rb b/app/services/types_de_champ_service.rb index 93314fbf7..7f8cfe1e9 100644 --- a/app/services/types_de_champ_service.rb +++ b/app/services/types_de_champ_service.rb @@ -34,7 +34,7 @@ class TypesDeChampService def self.order_champs(params, attributes) # It's OK to use an unsafe hash here because the params will then go through - # require / permit methods in the method before this one + # require / permit methods in #create_update_procedure_params tdcas = params[:procedure][attributes].to_unsafe_hash.to_a .map { |_hash_index, tdca| tdca }