demarches-normaliennes/app/serializers/champ_serializer.rb

6 lines
98 B
Ruby
Raw Normal View History

2018-02-09 17:38:30 +01:00
class ChampSerializer < ActiveModel::Serializer
attributes :value
has_one :type_de_champ
end