SyntaxSquad/DADProject#16 fix: i forgot this
This commit is contained in:
1 parent
0fb64ff30c
commit
ceba5178f3
6 files changed
+316
-279
No files matched your search
@@ -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']);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user