mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 11:18:08 +00:00
Refactor whitespace and comments for consistency in BreakEscape controllers and models
- Cleaned up unnecessary whitespace in `games_controller.rb`, `missions_controller.rb`, `game.rb`, `mission.rb`, `routes.rb`, `seeds.rb`, and migration files to enhance code readability. - Standardized comment formatting across various files to maintain consistency and improve clarity.
This commit is contained in:
@@ -25,12 +25,12 @@ BreakEscape::Engine.routes.draw do
|
||||
put 'sync_state' # Periodic state sync
|
||||
post 'unlock' # Validate unlock attempt
|
||||
post 'inventory' # Update inventory
|
||||
|
||||
|
||||
# Objectives system
|
||||
get 'objectives' # Get current objective state
|
||||
post 'objectives/tasks/:task_id', to: 'games#complete_task', as: 'complete_task'
|
||||
put 'objectives/tasks/:task_id', to: 'games#update_task_progress', as: 'update_task_progress'
|
||||
|
||||
|
||||
# VM/Flag integration
|
||||
post 'flags', to: 'games#submit_flag' # Submit CTF flag for validation
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user