Add historic for piece justificative
This commit is contained in:
parent
4b7e6426b3
commit
bb79aca58a
14 changed files with 99 additions and 76 deletions
|
@ -12,5 +12,5 @@ class DossierSerializer < ActiveModel::Serializer
|
|||
has_many :cerfa
|
||||
has_many :commentaires
|
||||
has_many :champs
|
||||
has_many :pieces_justificatives
|
||||
has_many :types_de_piece_justificative
|
||||
end
|
|
@ -2,5 +2,4 @@ class PieceJustificativeSerializer < ActiveModel::Serializer
|
|||
attributes :created_at,
|
||||
:content_url => :url
|
||||
|
||||
has_one :type_de_piece_justificative
|
||||
end
|
|
@ -2,4 +2,6 @@ class TypeDePieceJustificativeSerializer < ActiveModel::Serializer
|
|||
attributes :id,
|
||||
:libelle,
|
||||
:description
|
||||
|
||||
has_many :pieces_justificatives
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue