mailers: add preview URL to all previewable mailers

This commit is contained in:
Pierre de La Morinerie 2018-11-20 10:57:51 +00:00 committed by gregoirenovel
parent f2eaf66a9a
commit a5f9be00e0
11 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,4 @@
class UserPreview < ActionMailer::Preview
class UserMailerPreview < ActionMailer::Preview
def new_account_warning
UserMailer.new_account_warning(User.first)
end