agenda-libre-ruby/app/mailers/note_mailer.rb

11 lines
381 B
Ruby
Raw Normal View History

2014-06-23 23:39:42 +02:00
class NoteMailer < ActionMailer::Base
def create(note)
@note = note
mail 'In-Reply-To' => "<event-#{note.event.id}@#{ActionMailer::Base.default_url_options[:host]}>",
to: note.event.submitter,
cc: AgendaDuLibreRails::Application.config.action_mailer.default_options[:from],
subject: t('note_mailer.create.subject', subject: note.event.title)
2014-06-23 23:39:42 +02:00
end
end