demarches-normaliennes/app/helpers/avis_helper.rb

5 lines
97 B
Ruby

module AvisHelper
def safe_claimant_email(claimant)
claimant&.email || "inconnu"
end
end