today_ai_weather/app/helpers
songtianlun 2b03661431 feat: add user authentication and authorization
- Implement friendly forwarding for user login
- Add correct_user method to ensure users can only edit their own profiles
- Update sessions_controller to handle forwarding URL
- Enhance user controller tests to verify redirection for unauthorized access

These changes improve user experience by allowing users to be redirected
back to their intended page after logging in. Additionally, the new
correct_user method enhances security by preventing users from editing
other users' profiles, ensuring proper authorization checks are in place.
2025-01-03 13:48:59 +08:00
..
application_helper.rb feat: add header and footer layout components 2024-12-30 17:54:42 +08:00
sessions_helper.rb feat: add user authentication and authorization 2025-01-03 13:48:59 +08:00
static_pages_helper.rb add static pages 2024-12-29 17:22:48 +08:00
users_helper.rb feat: add user registration functionality 2024-12-31 16:34:52 +08:00