diff --git a/routes/web.php b/routes/web.php index 5ee7b7d1..c7e1b6f3 100644 --- a/routes/web.php +++ b/routes/web.php @@ -25,3 +25,6 @@ // Fixtures Route::get('/fixtures', 'SoccerAPI\SoccerAPIController@fixturesByDate')->name('fixturesByDate'); Route::get('/fixtures/{id}', 'SoccerAPI\SoccerAPIController@fixturesDetails')->name('fixturesDetails'); + +// Teams +Route::get('/teams/{id}', 'SoccerAPI\SoccerAPIController@teamsDetails')->name('teamsDetails');