demarches-normaliennes/app/helpers/avis_helper.rb

6 lines
97 B
Ruby
Raw Normal View History

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