today_ai_weather/config/initializers/assets.rb
songtianlun df456d1031 feat: add map feature to city show page
- Implement MapController for displaying city maps
- Add map rendering in the city show view
- Include weather arts in the city show controller
- Update asset pipeline to include Leaflet CSS and JS

This commit introduces a map feature that allows users to view
geographical information related to cities. The map is integrated
with weather arts data, enhancing the overall functionality of
the city show page.
2025-02-14 18:05:03 +08:00

14 lines
690 B
Ruby

# Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.
Rails.application.config.assets.version = "1.0"
# Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path
# Rails.application.config.assets.paths << Rails.root.join("app/assets/builds")
# Rails.application.config.assets.paths << Rails.root.join("node_modules")
# Rails.application.config.assets.precompile += %w( *.png *.jpg *.jpeg *.gif )
# Rails.application.config.assets.paths << Rails.root.join("app/assets/builds")
# Rails.application.config.assets.precompile += %w( *.png *.jpg *.jpeg *.gif )