demarches-normaliennes/app/serializers/champ_public_serializer.rb

5 lines
103 B
Ruby
Raw Normal View History

class ChampPublicSerializer < ActiveModel::Serializer
attributes :value
has_one :type_de_champ
end