From e8f3f14a392f1cc5a69f907d1705beed77f894e6 Mon Sep 17 00:00:00 2001 From: horus Date: Fri, 18 Sep 2020 20:12:56 +0200 Subject: add view to show specific season --- routes/web.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'routes/web.php') diff --git a/routes/web.php b/routes/web.php index 58d703d..13880a1 100644 --- a/routes/web.php +++ b/routes/web.php @@ -21,6 +21,8 @@ Route::get('/anime/surprising/', 'AnimeController@showSurprisingAnime')->name('s Route::get('/anime/top/', 'AnimeController@showTopAnime')->name('top_anime'); Route::get('/anime/{mal_id}/{slug?}', 'AnimeController@showAnime')->name('anime'); +Route::get('/anime/season/{season_name}/{season_year}', 'AnimeController@showSeason')->name('season'); + Route::get('/api/anime/{mal_id}', 'ApiController@getAnime'); Route::get('/ical/{username}', 'IndexController@ical'); -- cgit v1.2.3