demarches-normaliennes/app/serializers/dossier_serializer.rb

11 lines
247 B
Ruby
Raw Normal View History

2016-01-20 15:48:46 +01:00
class DossierSerializer < ActiveModel::Serializer
attributes :id,
:nom_projet,
:description,
:created_at,
:updated_at,
:archived
has_one :entreprise
has_one :etablissement
2016-01-20 15:48:46 +01:00
end