X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=routes%2Fapi.php;h=46ec7d04ce4bd6b56bd0d1df39b381f701741fdf;hb=d1f28ea443b090c7593791eba9631796ccaeafe1;hp=ab79dce945493aebea14e1b5821286b074701f64;hpb=eebc6384e56336b66ec250fc2aea3be6171d53ff;p=alttp.git diff --git a/routes/api.php b/routes/api.php index ab79dce..46ec7d0 100644 --- a/routes/api.php +++ b/routes/api.php @@ -23,7 +23,9 @@ Route::get('protocol/{tournament}', 'App\Http\Controllers\ProtocolController@for Route::post('results', 'App\Http\Controllers\ResultController@create'); Route::post('rounds', 'App\Http\Controllers\RoundController@create'); +Route::post('rounds/{round}/lock', 'App\Http\Controllers\RoundController@lock'); Route::post('rounds/{round}/setSeed', 'App\Http\Controllers\RoundController@setSeed'); +Route::post('rounds/{round}/unlock', 'App\Http\Controllers\RoundController@unlock'); Route::get('tournaments/{id}', 'App\Http\Controllers\TournamentController@single');