2014-09-02 18:11:35 +03:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
class EventMailer < ActionMailer::Base
|
|
|
|
def new_event_notification(event)
|
|
|
|
@event = event
|
2014-09-06 17:17:09 +03:00
|
|
|
mail(to: 'core@openfest.org', subject: "Ново предложение за #{@event.class.model_name.human.mb_chars.downcase.to_s}: #{@event.title}")
|
2014-09-02 18:11:35 +03:00
|
|
|
end
|
|
|
|
end
|