In Devise::Mailer#email_changed, the new email might be in the email attr. See: https://github.com/plataformatec/devise/blob/master/app/views/devise/mailer/email_changed.html.erb
		
			
				
	
	
		
			10 lines
		
	
	
		
			238 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			238 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
<%= t 'devise.mailer.email_changed.title' %>
 | 
						|
 | 
						|
===
 | 
						|
 | 
						|
<%= t 'devise.mailer.email_changed.explanation' %>
 | 
						|
 | 
						|
<%= @resource.try(:unconfirmed_email) ? @resource.unconfirmed_email : @resource.email %>
 | 
						|
 | 
						|
<%= t 'devise.mailer.email_changed.extra' %>
 |