2014-05-25 23:59:03 +02:00
|
|
|
class EventMailer < ActionMailer::Base
|
|
|
|
default from: 'moderateurs@agendadulibre.org'
|
|
|
|
|
|
|
|
def create(event)
|
|
|
|
@event = event
|
2014-06-23 23:39:42 +02:00
|
|
|
mail to: event.contact, subject: t('event_mailer.create.subject', subject: event.title)
|
2014-05-25 23:59:03 +02:00
|
|
|
end
|
|
|
|
end
|