10 lines
203 B
Ruby
10 lines
203 B
Ruby
class UserMailer < ApplicationMailer
|
|
layout 'mailers/layout'
|
|
|
|
def new_account_warning(user)
|
|
@user = user
|
|
subject = "Création de compte"
|
|
|
|
mail(to: user.email, subject: subject)
|
|
end
|
|
end
|