Add user mailer previewer.

Usage: open /rails/mailers in your browser.
This commit is contained in:
evazion
2017-02-18 03:04:26 -06:00
parent ebff8d04f7
commit d78c537ec2

View File

@@ -0,0 +1,6 @@
class UserMailerPreview < ActionMailer::Preview
def dmail_notice
dmail = User.admins.first.dmails.first
UserMailer.dmail_notice(dmail)
end
end