refactor(type de champ): rename routable_types in simple_routable_types
This commit is contained in:
parent
52d8f8ed00
commit
60ff785009
6 changed files with 10 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue