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:
Z. Cliffe Schreuders
2025-11-30 00:06:54 +00:00
parent 5d9f83192d
commit 19db2f530d
7 changed files with 29 additions and 30 deletions

View File

@@ -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