- 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. |
||
---|---|---|
.. | ||
concerns | ||
account_activations_controller.rb | ||
application_controller.rb | ||
password_resets_controller.rb | ||
sessions_controller.rb | ||
static_pages_controller.rb | ||
users_controller.rb |