Remove the prefix from our emails’ subjects
This commit is contained in:
parent
845987aedd
commit
d7a8a103d7
4 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@ class AdministrateurMailer < ApplicationMailer
|
|||
@administrateur = administrateur
|
||||
@reset_password_token = reset_password_token
|
||||
@expiration_date = @administrateur.reset_password_sent_at + Devise.reset_password_within
|
||||
subject = "demarches-simplifiees.fr - N'oubliez pas d'activer votre compte administrateur"
|
||||
subject = "N'oubliez pas d'activer votre compte administrateur"
|
||||
|
||||
mail(to: administrateur.email,
|
||||
subject: subject,
|
||||
|
|
|
@ -13,7 +13,7 @@ class AdministrationMailer < ApplicationMailer
|
|||
def invite_admin(admin, reset_password_token)
|
||||
@reset_password_token = reset_password_token
|
||||
@admin = admin
|
||||
subject = "demarches-simplifiees.fr - Activez votre compte administrateur"
|
||||
subject = "Activez votre compte administrateur"
|
||||
|
||||
mail(to: admin.email,
|
||||
subject: subject,
|
||||
|
@ -21,7 +21,7 @@ class AdministrationMailer < ApplicationMailer
|
|||
end
|
||||
|
||||
def refuse_admin(admin_email)
|
||||
subject = "demarches-simplifiees.fr - Votre demande de compte a été refusée"
|
||||
subject = "Votre demande de compte a été refusée"
|
||||
|
||||
mail(to: admin_email,
|
||||
subject: subject,
|
||||
|
|
|
@ -4,7 +4,7 @@ class GestionnaireMailer < ApplicationMailer
|
|||
def invite_gestionnaire(gestionnaire, reset_password_token)
|
||||
@reset_password_token = reset_password_token
|
||||
@gestionnaire = gestionnaire
|
||||
subject = "demarches-simplifiees.fr - Activez votre compte accompagnateur"
|
||||
subject = "Activez votre compte accompagnateur"
|
||||
|
||||
mail(to: gestionnaire.email,
|
||||
subject: subject,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
class InviteMailer < ApplicationMailer
|
||||
def invite_user(invite)
|
||||
vars_mailer(invite)
|
||||
subject = "demarches-simplifiees.fr - Participez à l'élaboration d'un dossier"
|
||||
subject = "Participez à l'élaboration d'un dossier"
|
||||
|
||||
send_mail(invite.email, subject, invite.email_sender) if invite.user.present?
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue