today_ai_weather/app/controllers
songtianlun 80ceac5d94 feat: add locale extraction and sanitization methods
- Implemented `extract_locale_from_accept_language_header` to
  retrieve the user's preferred language from the request.
- Added `sanitize_locale` for validating and sanitizing locale
  inputs against available locales.
- Updated `set_locale` method to prepare for incorporating
  browser language preference handling.

These changes enhance the application's ability to set the locale
based on the user's browser settings, paving the way for better
internationalization support.
2025-02-22 00:13:35 +08:00
..
concerns init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
application_controller.rb feat: add locale extraction and sanitization methods 2025-02-22 00:13:35 +08:00
arts_controller.rb refactor: optimize includes for weather arts 2025-02-14 10:01:24 +08:00
cities_controller.rb feat: improve weather art display and generation 2025-02-17 00:15:32 +08:00
home_controller.rb feat: update art listings in home controller 2025-02-17 14:38:29 +08:00
rss_controller.rb feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
sitemaps_controller.rb feat: migrate AWS configuration to MinIO 2025-02-19 11:31:57 +08:00
weather_arts_controller.rb feat: add page load time tracking and footer 2025-02-14 09:47:01 +08:00