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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user