demarches-normaliennes/app/mailers/user_mailer.rb

10 lines
216 B
Ruby

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