X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=routes%2Fapi.php;h=7ae308e223cdc6618f6f7cbd2fc6d6706386f1c7;hb=4ac9a5a331949fcec42378ddc495385ae8628a79;hp=1b0ea84e4a065335e9e2d4247d8ba0ec0c2980ec;hpb=a5e53546a5960f54fb45e06767f89e9dfeef6a47;p=alttp.git diff --git a/routes/api.php b/routes/api.php index 1b0ea84..7ae308e 100644 --- a/routes/api.php +++ b/routes/api.php @@ -42,6 +42,8 @@ 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('tech/{tech:name}', 'App\Http\Controllers\TechniqueController@single'); + Route::get('tournaments/{id}', 'App\Http\Controllers\TournamentController@single'); Route::post('tournaments/{tournament}/apply', 'App\Http\Controllers\TournamentController@apply'); Route::post('tournaments/{tournament}/close', 'App\Http\Controllers\TournamentController@close');