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