refactor(type_de_champ): cleanup type predicate methods
This commit is contained in:
parent
e84071a14a
commit
dc6bad40fe
19 changed files with 50 additions and 161 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue