demarches-normaliennes/app/models/champs/engagement_champ.rb

8 lines
130 B
Ruby
Raw Normal View History

2018-02-13 18:18:20 +01:00
class Champs::EngagementChamp < Champs::CheckboxChamp
def search_terms
if value == 'on'
[ libelle ]
end
end
2018-02-13 18:18:20 +01:00
end