today_ai_weather/app
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
..
admin refactor: update admin columns for Ahoy models 2025-02-05 16:57:37 +08:00
assets feat: add photo swipe lightbox functionality 2025-02-01 14:19:19 +08:00
concerns style: format code for consistency 2025-01-23 19:03:14 +08:00
controllers feat: add voting functionality for votable entities 2025-02-07 13:10:53 +08:00
helpers feat: add sitemap functionality 2025-01-26 00:07:44 +08:00
javascript feat: add voting functionality for votable entities 2025-02-07 13:10:53 +08:00
mailers init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
models feat: add voting functionality for votable entities 2025-02-07 13:10:53 +08:00
services feat: update weather data report format 2025-01-31 10:46:32 +08:00
views feat: add voting functionality for votable entities 2025-02-07 13:10:53 +08:00
workers fix: correct handling of watermark attachment check 2025-02-05 14:57:28 +08:00