]> git.localhorst.tv Git - alttp.git/blobdiff - routes/api.php
allow admins to lock/unlock rounds
[alttp.git] / routes / api.php
index ab79dce945493aebea14e1b5821286b074701f64..46ec7d04ce4bd6b56bd0d1df39b381f701741fdf 100644 (file)
@@ -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');