Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/user_mailer/add_email.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<p>
<%= link_to add_email_confirmation_url(_request_id: @request_id, confirmation_token: @token, locale: @locale),
sign_up_create_email_confirmation_url(
add_email_confirmation_url(
Comment on lines 38 to +39
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 what if we assigned @add_email_url in the mailer, and then re-used that variable here in the template instead of re-creating it 3 times, risking having different results? (I can also make a follow-up PR)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I'm good with that

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_request_id: @request_id,
confirmation_token: @token,
locale: @locale,
Expand Down