12 lines
294 B
Ruby
12 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
|