refactor(type_de_champ): cleanup type predicate methods

This commit is contained in:
Paul Chavard 2024-11-07 12:38:03 +01:00
parent e84071a14a
commit dc6bad40fe
No known key found for this signature in database
19 changed files with 50 additions and 161 deletions

View file

@ -62,7 +62,7 @@ class RootController < ApplicationController
"option C"
]
type_de_champ.save
elsif type_de_champ.drop_down_list?
elsif type_de_champ.any_drop_down_list?
type_de_champ.drop_down_options =
[
"option A",