2015-08-20 01:42:35 +03:00
# coding: utf-8
class PropositionMailer < ActionMailer :: Base
def new_proposition_notification ( proposition )
@proposition = proposition
mail ( to : proposition . proposable . conference . email , subject : " Ново предложение за #{ @proposition . proposable_type } : #{ @proposition . proposable_title } " )
end
2015-09-02 00:07:50 +03:00
def proposition_withdrawal_notification ( proposition )
@proposition = proposition
mail ( to : proposition . proposable . conference . email , subject : " Оттеглено е предложение за #{ @proposition . proposable_type } : #{ @proposition . proposable_title } " )
end
2015-08-20 01:42:35 +03:00
end