Add commentaires on API Show Dossier
This commit is contained in:
parent
04c5432be1
commit
b49770f408
3 changed files with 19 additions and 0 deletions
5
app/serializers/commentaire_serializer.rb
Normal file
5
app/serializers/commentaire_serializer.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class CommentaireSerializer < ActiveModel::Serializer
|
||||
attributes :email,
|
||||
:body,
|
||||
:created_at
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue