Using proper mailing for the future
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user