demarches-normaliennes/app/mailers/welcome_mailer.rb
gregoirenovel e14d1a6c15 Remove useless from parameter in mailers
We already defined a default one in
ApplicationMailer
2017-05-12 13:50:41 +02:00

9 lines
170 B
Ruby

class WelcomeMailer < ApplicationMailer
def welcome_email user
@user = user
mail(to: user.email,
subject: "Création de votre compte TPS")
end
end