refactor(events): replace parties concept with events throughout the application

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.
This commit is contained in:
Kevin BATAILLE
2025-08-28 13:20:51 +02:00
parent 2f80fe8321
commit 30f3ecc6ad
218 changed files with 864 additions and 787 deletions

0
config/application.rb Normal file → Executable file
View File

0
config/boot.rb Normal file → Executable file
View File

0
config/cable.yml Normal file → Executable file
View File

0
config/cache.yml Normal file → Executable file
View File

0
config/credentials.yml.enc Normal file → Executable file
View File

0
config/database.yml Normal file → Executable file
View File

0
config/deploy.yml Normal file → Executable file
View File

0
config/environment.rb Normal file → Executable file
View File

0
config/environments/development.rb Normal file → Executable file
View File

0
config/environments/production.rb Normal file → Executable file
View File

0
config/environments/test.rb Normal file → Executable file
View File

0
config/initializers/app_config.rb Normal file → Executable file
View File

0
config/initializers/assets.rb Normal file → Executable file
View File

0
config/initializers/content_security_policy.rb Normal file → Executable file
View File

0
config/initializers/devise.rb Normal file → Executable file
View File

0
config/initializers/filter_parameter_logging.rb Normal file → Executable file
View File

0
config/initializers/inflections.rb Normal file → Executable file
View File

0
config/locales/devise.en.yml Normal file → Executable file
View File

0
config/locales/en.yml Normal file → Executable file
View File

0
config/locales/fr.yml Normal file → Executable file
View File

0
config/puma.rb Normal file → Executable file
View File

0
config/queue.yml Normal file → Executable file
View File

0
config/recurring.yml Normal file → Executable file
View File

12
config/routes.rb Normal file → Executable file
View File

@@ -15,10 +15,10 @@ Rails.application.routes.draw do
# Pages
get "dashboard", to: "pages#dashboard", as: "dashboard"
# Parties
get "parties", to: "parties#index", as: "parties"
get "parties/:slug.:id", to: "parties#show", as: "party"
post "parties/:slug.:id/checkout", to: "parties#checkout", as: "party_checkout"
# events
get "events", to: "events#index", as: "events"
get "events/:slug.:id", to: "events#show", as: "party"
post "events/:slug.:id/checkout", to: "events#checkout", as: "party_checkout"
# Routes for devise authentication Gem
# Bind devise to user
@@ -42,8 +42,8 @@ Rails.application.routes.draw do
# API routes versioning
namespace :api do
namespace :v1 do
# RESTful routes for party management
resources :parties, only: [ :index, :show, :create, :update, :destroy ]
# RESTful routes for event management
resources :events, only: [ :index, :show, :create, :update, :destroy ]
# resources :bundles, only: [ :index, :show, :create, :update, :destroy ]

0
config/storage.yml Normal file → Executable file
View File