diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-18 19:17:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-18 19:17:25 +0100 |
commit | d799921c75e7bfb83504bb79dcc1c269c91d168c (patch) | |
tree | 8150e8c3d81038ed132127d2ea1ca2a44ff73fb1 /spec/mailers/previews | |
parent | e56404be414ff2fc7ff11171fdd2b31a0658aa11 (diff) |
Replace tutorial modal with welcome e-mail (#6273)
* Remove onboarding modal * Welcome e-mail * Send welcome e-mail after confirmation * Remove obsolete translations
Diffstat (limited to 'spec/mailers/previews')
-rw-r--r-- | spec/mailers/previews/user_mailer_preview.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/mailers/previews/user_mailer_preview.rb b/spec/mailers/previews/user_mailer_preview.rb index 6ed0090f4..8d2a9368d 100644 --- a/spec/mailers/previews/user_mailer_preview.rb +++ b/spec/mailers/previews/user_mailer_preview.rb @@ -29,4 +29,9 @@ class UserMailerPreview < ActionMailer::Preview def reset_password_instructions UserMailer.reset_password_instructions(User.first, 'spec') end + + # Preview this email at http://localhost:3000/rails/mailers/user_mailer/welcome + def welcome + UserMailer.welcome(User.first) + end end |