songtianlun
2c7e4970f3
- Change activation token parameter from `activation_token` to `id` in the account activation link. - This ensures the link correctly references the user activation token for account activation.
13 lines
332 B
Plaintext
13 lines
332 B
Plaintext
<h1>Sample App</h1>
|
|
|
|
<p>Hi <%= @user.name %></p>
|
|
|
|
<p>
|
|
Welcome to the Sample App! Click on the link below to activate your account:
|
|
</p>
|
|
|
|
<%= link_to "Activate", edit_account_activation_url(id: @user.activation_token, email: @user.email) %>
|
|
|
|
<p>
|
|
<%= edit_account_activation_url(@user.activation_token, email: @user.email) %>
|
|
</p> |