demarches-normaliennes/app/mailers/new_admin_mailer.rb

11 lines
230 B
Ruby
Raw Normal View History

2016-02-23 16:51:24 +01:00
class NewAdminMailer < ApplicationMailer
def new_admin_email admin, password
@admin = admin
@password = password
mail(to: 'tech@tps.apientreprise.fr',
2016-02-23 16:51:24 +01:00
subject: "Création d'un compte Admin TPS")
end
end