2018-05-23 11:27:33 +02:00
|
|
|
class UserMailer < ApplicationMailer
|
|
|
|
layout 'mailers/layout'
|
|
|
|
|
|
|
|
def new_account_warning(user)
|
|
|
|
@user = user
|
2018-05-31 16:41:58 +02:00
|
|
|
@subject = "Demande de création de compte"
|
2018-05-31 23:58:10 +02:00
|
|
|
|
2018-06-07 15:05:30 +02:00
|
|
|
mail(to: user.email, subject: @subject)
|
2018-05-23 11:27:33 +02:00
|
|
|
end
|
|
|
|
end
|