demarches-normaliennes/app/mailers/user_mailer.rb
2018-06-01 00:00:11 +02:00

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