summaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorhorus2020-09-18 20:12:56 +0200
committerhorus2020-09-18 20:12:56 +0200
commite8f3f14a392f1cc5a69f907d1705beed77f894e6 (patch)
treee15db4dfb378a8bafadb5d015ee0455b2b425ffb /routes
parent709e6684cf28f8b3008db57f9e2807544da92b41 (diff)
downloadsenpai-e8f3f14a392f1cc5a69f907d1705beed77f894e6.tar.gz
add view to show specific season
Diffstat (limited to 'routes')
-rw-r--r--routes/web.php2
1 files changed, 2 insertions, 0 deletions
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');