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