refactor(type de champ): rename routable_types in simple_routable_types

This commit is contained in:
Eric Leroy-Terquem 2024-07-11 11:46:35 +02:00
parent 52d8f8ed00
commit 60ff785009
No known key found for this signature in database
GPG key ID: 53D8FAECEF207605
6 changed files with 10 additions and 10 deletions

View file

@ -41,7 +41,7 @@ module Administrateurs
@procedure = procedure
stable_id = params[:create_simple_routing][:stable_id].to_i
tdc = @procedure.active_revision.routable_types_de_champ.find { |tdc| tdc.stable_id == stable_id }
tdc = @procedure.active_revision.simple_routable_types_de_champ.find { |tdc| tdc.stable_id == stable_id }
case tdc.type_champ
when TypeDeChamp.type_champs.fetch(:departements)