today_ai_weather/app/controllers
songtianlun eb16f5886d feat: enhance weather art display and functionality
- Update to include a new 'random' scope in WeatherArt model.
- Modify HomeController to fetch random and popular arts along with latest arts.
- Refactor index.html.erb to utilize a partial for rendering arts.

This update improves the display of weather art by adding a new
random selection of arts alongside popular ones, increasing user
engagement and variety. The code structure is also cleaner due
to the use of a partial view for rendering arts, promoting
the DRY principle.
2025-02-13 17:48:39 +08:00
..
concerns init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
application_controller.rb feat: add admin management features for cities 2025-02-11 17:40:13 +08:00
arts_controller.rb migrate with countries_states_cities_db 2025-02-08 17:42:50 +08:00
cities_controller.rb feat: add country filter to cities controller 2025-02-12 15:12:23 +08:00
home_controller.rb feat: enhance weather art display and functionality 2025-02-13 17:48:39 +08:00
sitemaps_controller.rb feat: add sitemap functionality 2025-01-26 00:07:44 +08:00
weather_arts_controller.rb refactor: adjust ordering of weather arts 2025-02-03 11:15:31 +08:00