From cd4f7e45ec100013dc66403402a6a043c5ffb48e Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck Date: Wed, 3 Oct 2018 19:30:52 +0200 Subject: [PATCH] Added route for teams Added route for teams --- routes/web.php | 3 +++ 1 file changed, 3 insertions(+) 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');