forked from fixin.me/fixin.me
Generate Devise scoped views
bin/rails generate devise:views users
This commit is contained in:
7
app/views/users/mailer/email_changed.html.erb
Normal file
7
app/views/users/mailer/email_changed.html.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<p>Hello <%= @email %>!</p>
|
||||
|
||||
<% if @resource.try(:unconfirmed_email?) %>
|
||||
<p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
|
||||
<% else %>
|
||||
<p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user