refactor: clean up controller before_action definitions and routes

- Standardize before_action syntax in controllers by removing extraneous spaces
- Comment out unused bundles routes in API v1 namespace
- Clean up whitespace in routes file

These changes improve code consistency and maintainability while preparing for future feature development.

💘 Generated with Crush
Co-Authored-By: Crush <crush@charm.land>
This commit is contained in:
kbe
2025-08-24 22:31:42 +02:00
parent 98efdb44ac
commit 1c7a62acde
4 changed files with 5 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
RAILS_ENV=development
SECRET_KEY_BASE=a3f5c6e7b8d9e0f1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7q8r9s0t1u2v3w4x5y6z7
DEVISE_SECRET_KEY=your_devise_secret_key_here
APP_NAME=Pafterwork
APP_NAME=Aperonight
# Database Configuration for production and development
DB_HOST=localhost

View File

@@ -36,10 +36,11 @@ Rails.application.routes.draw do
namespace :v1 do
# RESTful routes for party management
resources :parties, only: [ :index, :show, :create, :update, :destroy ]
# resources :bundles, only: [ :index, :show, :create, :update, :destroy ]
# Additional API endpoints can be added here as needed
# Example: search, filtering, user-specific endpoints
end
end
end