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

3 lines
136 B
Ruby

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