This commit is contained in:
AfonsoCMSousa committed 2026-01-03 13:14:59 +00:00
1 parent 0fb64ff30c
commit ceba5178f3
6 files changed
+316 -279

No files matched your search

+1
View File
@@ -62,6 +62,7 @@ Route::prefix('v1')->group(function () {
Route::get('open', [MatchController::class, 'open']);
Route::post('/{match}/join', [MatchController::class, 'join']);
Route::post('/{match}/start', [MatchController::class, 'start']); // Changed to /start to be explicit
Route::delete('/{match}', [MatchController::class, 'destroy']);
Route::apiResource('/', MatchController::class)->parameters(['' => 'match']);
});