today_ai_weather/app/controllers
songtianlun 07afbda252
Some checks failed
Docker Dev / docker (push) Has been cancelled
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
Docker Main / docker (push) Has been cancelled
feat: add default canonical URL handling
- Introduce a new before_action to set the default canonical URL
- Implement set_canonical_url method to manage canonical URLs
- Update application helper to use the canonical URL for meta tags

This change enhances SEO by ensuring that the canonical URL is set
correctly for each page, preventing duplicate content issues. The
canonical URL is derived from the original request URL, excluding
query parameters.
2025-04-23 20:45:49 +08:00
..
concerns init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
application_controller.rb feat: add default canonical URL handling 2025-04-23 20:45:49 +08:00
arts_controller.rb feat: add meta tags for SEO optimization 2025-04-08 17:04:32 +08:00
cities_controller.rb feat: update city weather descriptions in locales 2025-04-12 15:13:21 +08:00
home_controller.rb feat: add meta tags for SEO optimization 2025-04-08 17:04:32 +08:00
rss_controller.rb fix: correct region and subregion retrieval 2025-03-05 16:26:10 +08:00
sitemaps_controller.rb refactor: update AWS S3 credentials configuration 2025-03-16 00:13:37 +08:00
weather_arts_controller.rb refactor: update weather art descriptions 2025-04-12 15:28:47 +08:00