demarches-normaliennes/app/serializers/champ_serializer.rb
2018-02-13 12:07:13 +01:00

5 lines
98 B
Ruby

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