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