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

3 lines
125 B
Ruby

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