sample_rails_tailwind/app/views/user_mailer/account_activation.html.erb
songtianlun a3f6c9770f 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.
2025-01-08 17:39:46 +08:00

10 lines
238 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(@user.activation_token, email: @user.email) %>