fix: correct link_to syntax in account activation email
- Updated the link_to helper in the account activation email view - Changed the order of parameters in edit_account_activation_url This change corrects the syntax for the link_to method, ensuring that the activation link is generated properly with the correct parameters. This fix improves the functionality of the account activation process for users.
This commit is contained in:
parent
f52155f7be
commit
a3f6c9770f
@ -6,4 +6,4 @@
|
||||
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) %>
|
||||
<%= link_to "Activate", edit_account_activation_url(@user.activation_token, email: @user.email) %>
|
||||
|
Loading…
Reference in New Issue
Block a user