demarches-normaliennes/app/serializers/dossiers_serializer.rb

10 lines
164 B
Ruby
Raw Normal View History

class DossiersSerializer < ActiveModel::Serializer
attributes :id,
2017-10-05 10:50:44 +02:00
:updated_at,
:initiated_at
def initiated_at
object.en_construction_at
end
2017-04-04 15:27:04 +02:00
end