demarches-normaliennes/app/mailers/administration_mailer.rb
2018-01-09 10:29:54 +01:00

17 lines
536 B
Ruby

class AdministrationMailer < ApplicationMailer
layout 'mailers/layout'
def new_admin_email admin, administration
@admin = admin
@administration = administration
mail(to: 'tech@tps.apientreprise.fr',
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
end