songtianlun
8e8c60254f
- Implement CitiesController for listing and showing cities - Create City and WeatherArt models with associations - Add views for cities index and show, displaying weather arts - Include routes for cities and active storage for images - Update migrations for weather arts and seed data for testing This commit introduces a comprehensive cities feature that allows users to view cities along with their associated weather art. The implementation includes necessary database migrations, routes, and controller actions to support this new functionality. |
||
---|---|---|
.. | ||
environments | ||
initializers | ||
locales | ||
application.rb | ||
boot.rb | ||
cable.yml | ||
cache.yml | ||
credentials.yml.enc | ||
database.yml | ||
deploy.yml | ||
environment.rb | ||
importmap.rb | ||
puma.rb | ||
queue.yml | ||
recurring.yml | ||
routes.rb | ||
storage.yml | ||
tailwind.config.js |