650f40865e
The `#reload` makes to load all objects into memory, and the main purpose of `#reload` is to drop the association cache. The `#reset` seems to solve exactly that case.
12 lines
411 B
Text
12 lines
411 B
Text
= email_default_heading("Hello, #{@resource.name}!")
|
|
|
|
- if @resource.try(:unconfirmed_email?)
|
|
%p
|
|
We're contacting you to notify you that your email is being changed to #{@resource.reset.unconfirmed_email}.
|
|
- else
|
|
%p
|
|
We're contacting you to notify you that your email has been changed to #{@resource.email}.
|
|
|
|
%p
|
|
If you did not initiate this change, please contact your administrator
|
|
immediately.
|