today_ai_weather/app/javascript
songtianlun e5c1461e8a feat: add voting functionality for votable entities
- Create VotesController to manage voting actions
- Implement Vote model with polymorphic associations
- Add vote buttons to the city and weather art views
- Integrate vote counting and user vote tracking
- Define routes for the votes resource

This commit sets up a voting mechanism for cities and weather arts, allowing users to upvote or downvote. It includes seamless integration of user sessions to track individual votes, ensuring votes can be modified or deleted based on user interaction.
2025-02-07 13:10:53 +08:00
..
controllers feat: add voting functionality for votable entities 2025-02-07 13:10:53 +08:00
active_admin.js feat: add jQuery and UI support 2025-01-25 01:11:15 +08:00
add_jquery.js feat: add jQuery and UI support 2025-01-25 01:11:15 +08:00
application.js feat: add photo swipe lightbox functionality 2025-02-01 14:19:19 +08:00