From 4081c4595fbd3298c2260b3225d900591fbd80fb Mon Sep 17 00:00:00 2001 From: echarp Date: Sun, 20 Jul 2014 23:01:01 +0200 Subject: [PATCH] =?UTF-8?q?On=20envoie=20maintenant=20les=20mails=20li?= =?UTF-8?q?=C3=A9s=20aux=20evts=20=C3=A0=20l'adresse=20du=20soumetteur=20e?= =?UTF-8?q?t=20non=20du=20contact?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/mailers/event_mailer.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/mailers/event_mailer.rb b/app/mailers/event_mailer.rb index 52c73c34..a39b1460 100644 --- a/app/mailers/event_mailer.rb +++ b/app/mailers/event_mailer.rb @@ -3,7 +3,7 @@ class EventMailer < ActionMailer::Base @event = event mail 'Message-ID' => "", - to: event.contact, + to: event.submitter, subject: t('event_mailer.create.subject', subject: event.title) end @@ -12,7 +12,7 @@ class EventMailer < ActionMailer::Base @current_user = current_user mail 'In-Reply-To' => "", - to: event.contact, + to: event.submitter, subject: t('event_mailer.accept.subject', subject: event.title) end @@ -22,7 +22,7 @@ class EventMailer < ActionMailer::Base @reason = reason mail 'In-Reply-To' => "", - to: event.contact, + to: event.submitter, subject: t('event_mailer.destroy.subject', subject: event.title) end end