Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> This commit refactors the entire application to replace the 'parties' concept with 'events'. All controllers, models, views, and related files have been updated to reflect this change. The parties table has been replaced with an events table, and all related functionality has been updated accordingly.
20 lines
989 B
JavaScript
Executable File
20 lines
989 B
JavaScript
Executable File
// This file is auto-generated by ./bin/rails stimulus:manifest:update
|
|
// Run that command whenever you add a new controller or create them with
|
|
// ./bin/rails generate stimulus controllerName
|
|
|
|
import { application } from "./application"
|
|
|
|
import LogoutController from "./logout_controller"
|
|
import FlashMessageController from "./flash_message_controller"
|
|
import CounterController from "./counter_controller"
|
|
import FeaturedEventController from "./featured_event_controller"
|
|
|
|
import ShadcnTestController from "./shadcn_test_controller"
|
|
|
|
application.register("logout", LogoutController) // Allow logout using js
|
|
application.register("flash-message", FlashMessageController) // Dismiss notification after 5 secondes
|
|
application.register("counter", CounterController) // Simple counter for homepage
|
|
application.register("featured-event", FeaturedEventController) // Featured event controller for homepage
|
|
|
|
application.register("shadcn-test", ShadcnTestController) // Test controller for Shadcn
|