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

4 lines
125 B
Ruby
Raw Normal View History

class Champs::ExpressionReguliereChamp < Champ
validates_with ExpressionReguliereValidator, if: :validate_champ_value?
end