added mailer

This commit is contained in:
2016-04-08 15:22:31 +02:00
parent 7aacbe8d56
commit 8103f7b439
11 changed files with 71 additions and 0 deletions
@@ -0,0 +1,6 @@
# Preview all emails at http://localhost:3000/rails/mailers/supporter_mailer
class SupporterMailerPreview < ActionMailer::Preview
def welcome
SupporterMailer.welcome_email(Supporter.first)
end
end