demarches-normaliennes/app/mailers/user_mailer.rb
2018-11-20 14:46:31 +01:00

11 lines
288 B
Ruby

# Preview all emails at http://localhost:3000/rails/mailers/user_mailer
class UserMailer < ApplicationMailer
layout 'mailers/layout'
def new_account_warning(user)
@user = user
@subject = "Demande de création de compte"
mail(to: user.email, subject: @subject)
end
end