demarches-normaliennes/app/serializers/champ_serializer.rb

5 lines
97 B
Ruby
Raw Normal View History

2016-02-26 12:17:41 +01:00
class ChampSerializer < ActiveModel::Serializer
attributes :value
has_one :type_de_champ
end