Les demandes d'informations sont aussi envoyées en copie aux modérateurs

This commit is contained in:
echarp 2014-07-20 23:33:05 +02:00
parent 3968a8a4fe
commit f75d4ee993

View File

@ -3,7 +3,8 @@ class NoteMailer < ActionMailer::Base
@note = note @note = note
mail 'In-Reply-To' => "<event-#{note.event.id}@#{ActionMailer::Base.default_url_options[:host]}>", mail 'In-Reply-To' => "<event-#{note.event.id}@#{ActionMailer::Base.default_url_options[:host]}>",
to: note.event.contact, to: note.event.submitter,
cc: AgendaDuLibreRails::Application.config.action_mailer.default_options[:from],
subject: t('note_mailer.create.subject', subject: note.event.title) subject: t('note_mailer.create.subject', subject: note.event.title)
end end
end end