demarches-normaliennes/app/serializers/piece_justificative_serializer.rb

7 lines
187 B
Ruby
Raw Normal View History

2016-02-26 12:17:41 +01:00
class PieceJustificativeSerializer < ActiveModel::Serializer
attributes :created_at,
:type_de_piece_justificative_id,
:content_url => :url
2016-02-26 12:17:41 +01:00
has_one :user
2016-02-26 12:17:41 +01:00
end