Using proper mailing for the future

This commit is contained in:
2017-03-25 18:21:58 +01:00
parent 9549c5f791
commit 995fd10a5d
12 changed files with 99 additions and 18 deletions
@@ -1,7 +1,7 @@
# Preview all emails at http://localhost:3000/rails/mailers/supporter_mailer
class SupporterMailerPreview < ActionMailer::Preview
def welcome
I18n.locale = 'it'
I18n.locale = :fr
SupporterMailer.welcome_email(Supporter.first)
end
end