demarches-normaliennes/app/serializers/piece_justificative_serializer.rb

7 lines
No EOL
187 B
Ruby

class PieceJustificativeSerializer < ActiveModel::Serializer
attributes :created_at,
:type_de_piece_justificative_id,
:content_url => :url
has_one :user
end