Remove entreprise and rna_information models

This commit is contained in:
Paul Chavard 2018-04-23 11:57:38 +02:00 committed by gregoirenovel
parent 81179ceba9
commit ad24fd5991
15 changed files with 75 additions and 123 deletions

View file

@ -11,4 +11,8 @@ class EntrepriseSerializer < ActiveModel::Serializer
:date_creation,
:nom,
:prenom
def date_creation
object.date_creation ? object.date_creation.to_datetime : nil
end
end