today_ai_weather/config/initializers/schedule_tasks.rb
songtianlun 742c94ced1 style: update layout of city show view
- Change stats div to be responsive
- Adjust coordinates display format for better readability

This update enhances the layout of the city show view by making
it more responsive and improving the display of weather and
geographical data. Additionally, the startup task for
refreshing the sitemap is now consistently executed,
removing unnecessary complexity.
2025-01-25 10:51:14 +08:00

5 lines
126 B
Ruby

# config/initializers/schedule_tasks.rb
Rails.application.config.after_initialize do
RefreshSitemapWorker.perform_async
end