- 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.
- Remove redundant paragraph containing the activation URL
- Keep only the link for activation
This change enhances the clarity of the email template by eliminating
unnecessary elements, making it easier to maintain and understand.
- 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.
- Remove unnecessary line breaks in the activation link
- Clean up the formatting of the email template
This commit improves the readability of the account activation
email template by removing redundant line breaks and ensuring
consistent formatting. No functional changes were made to the
link or its behavior.
- Adjust spacing in the email parameter of the link_to helper
- Ensure consistent formatting in the account activation email
This change improves the readability of the code by ensuring
consistent spacing in the parameters, which can help prevent
errors in future modifications.
- Change `user.send(:activate)` to `user.activate` for clarity.
- Fix typo in email parameter from `emial` to `email` in password reset.
- Update render calls to include status codes for better error handling.
- Modify password reset email method to accept a user parameter.
- Update tests to reflect changes in password reset functionality.
These changes improve the clarity of the user activation process and
ensure that the password reset functionality works correctly with
proper error handling and user feedback.
- Implement AccountActivationsController for activation logic
- Create UserMailer for sending activation emails
- Update SessionsController to handle unactivated users
- Modify UsersController to restrict access to activated users
- Add activation fields to User model and database migration
- Create views for account activation emails
- Add tests for account activation functionality