demarches-normaliennes/app/mailers/user_mailer.rb

11 lines
203 B
Ruby
Raw Normal View History

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)
end
end