demarches-normaliennes/app/models/champs/engagement_champ.rb
2019-01-03 10:53:50 +01:00

7 lines
128 B
Ruby

class Champs::EngagementChamp < Champs::CheckboxChamp
def search_terms
if value == 'on'
[libelle]
end
end
end