Make type_de_champ API ids stable
This commit is contained in:
parent
1883c57c87
commit
8d22275742
1 changed files with 4 additions and 0 deletions
|
@ -4,4 +4,8 @@ class TypeDeChampSerializer < ActiveModel::Serializer
|
|||
:type_champ,
|
||||
:order_place,
|
||||
:description
|
||||
|
||||
def id
|
||||
object.stable_id || object.id
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue