diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-03-23 03:28:05 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-05-25 23:56:06 +0300 |
commit | 66ae3897e2a170133f389f1713129e5b49d88ecc (patch) | |
tree | d42a3c188fb4c001d6242b8c60acd6a4b51c139a /app | |
parent | 2682c5884777f1bfd5cb0b5c85b1f3c188906460 (diff) |
Make the standard Devise confirmation email our new plaintext version
Diffstat (limited to 'app')
-rw-r--r-- | app/views/devise/mailer/confirmation_instructions.html.erb | 9 | ||||
-rw-r--r-- | app/views/devise/mailer/confirmation_instructions.text.erb | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/app/views/devise/mailer/confirmation_instructions.html.erb b/app/views/devise/mailer/confirmation_instructions.html.erb deleted file mode 100644 index c6fa8f0ee36..00000000000 --- a/app/views/devise/mailer/confirmation_instructions.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<p>Welcome <%= @resource.name %>!</p> - -<% if @resource.unconfirmed_email.present? %> - <p>You can confirm your email (<%= @resource.unconfirmed_email %>) through the link below:</p> -<% else %> - <p>You can confirm your account through the link below:</p> -<% end %> - -<p><%= link_to 'Confirm your account', confirmation_url(@resource, confirmation_token: @token) %></p> diff --git a/app/views/devise/mailer/confirmation_instructions.text.erb b/app/views/devise/mailer/confirmation_instructions.text.erb new file mode 100644 index 00000000000..9f76edb76a4 --- /dev/null +++ b/app/views/devise/mailer/confirmation_instructions.text.erb @@ -0,0 +1,9 @@ +Welcome, <%= @resource.name %>! + +<% if @resource.unconfirmed_email.present? %> +You can confirm your email (<%= @resource.unconfirmed_email %>) through the link below: +<% else %> +You can confirm your account through the link below: +<% end %> + +<%= confirmation_url(@resource, confirmation_token: @token) %> |