demarches/app/mailers/signatory_mailer.rb
2024-09-01 16:55:38 +02:00

11 lines
294 B
Ruby

class SignatoryMailer < ApplicationMailer
def sign
@signatory = params[:signatory]
mail to: @signatory.email, subject: 'Merci de confirmer votre signature'
end
def signed
@signatory = params[:signatory]
mail to: @signatory.email, subject: 'Confirmation de votre signature'
end
end