demarches-normaliennes/app/mailers/user_mailer.rb

11 lines
215 B
Ruby
Raw Normal View History

class UserMailer < ApplicationMailer
layout 'mailers/layout'
def new_account_warning(user)
@user = user
@subject = "Demande de 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