SyntaxSquad/DADProject#16 fix: i forgot this
This commit is contained in:
@@ -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