correctif(api/v1): ajoute la methode manquante for_api sur le type de champs departement
This commit is contained in:
parent
3732c079a7
commit
48c80e9387
3 changed files with 26 additions and 0 deletions
|
@ -33,6 +33,10 @@ class Champs::DepartementChamp < Champs::TextChamp
|
|||
formatted_value
|
||||
end
|
||||
|
||||
def for_api
|
||||
formatted_value
|
||||
end
|
||||
|
||||
def selected
|
||||
code
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue