Files

9 lines
219 B
Ruby
Raw Permalink Normal View History

2016-04-08 15:22:31 +02:00
class SupporterMailer < ApplicationMailer
2017-03-25 18:21:58 +01:00
include Roadie::Rails::Automatic
2016-04-08 15:22:31 +02:00
def welcome_email(supporter)
@supporter = supporter
mail(to: @supporter.email, subject: I18n.t('welcome_email.subject'))
end
end