demarches-normaliennes/app/mailers/administration_mailer.rb

18 lines
536 B
Ruby
Raw Normal View History

class AdministrationMailer < ApplicationMailer
layout 'mailers/layout'
def new_admin_email admin, administration
2016-02-23 16:51:24 +01:00
@admin = admin
@administration = administration
2016-02-23 16:51:24 +01:00
mail(to: 'tech@tps.apientreprise.fr',
2016-02-23 16:51:24 +01:00
subject: "Création d'un compte Admin TPS")
end
def dubious_procedures(procedures_and_type_de_champs)
@procedures_and_type_de_champs = procedures_and_type_de_champs
mail(to: 'tech@tps.apientreprise.fr',
subject: "[RGS] De nouvelles procédures comportent des champs interdits")
end
2016-02-23 16:51:24 +01:00
end