demarches-normaliennes/app/mailers/new_admin_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

10 lines
226 B
Ruby

class NewAdminMailer < ApplicationMailer
def new_admin_email admin, password
@admin = admin
@password = password
mail(to: 'tech@apientreprise.fr',
subject: "Création d'un compte Admin TPS")
end
end