Make text e-mails consistent with HTML ones in UserMailer (#6291)

* Make text e-mails consistent with HTML ones in UserMailer

* Fix UserMailer specs
This commit is contained in:
Eugen Rochko 2018-01-20 01:32:05 +01:00 committed by GitHub
parent 0b888acfd4
commit 01421999ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
85 changed files with 51 additions and 657 deletions

View file

@ -0,0 +1,12 @@
<%= t 'devise.mailer.confirmation_instructions.title' %>
===
<%= t 'devise.mailer.confirmation_instructions.explanation', host: site_hostname %>
=> <%= confirmation_url(@resource, confirmation_token: @token) %>
<%= strip_tags(t('devise.mailer.confirmation_instructions.extra_html', terms_path: about_more_url, policy_path: terms_url)) %>
=> <%= about_more_url %>
=> <%= terms_url %>