summaryrefslogtreecommitdiff
path: root/routes/web.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/web.php')
-rw-r--r--routes/web.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/web.php b/routes/web.php
index 0693118..ff3046b 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -22,8 +22,10 @@ Route::get('/search', 'IndexController@search')->name('search');
Route::get('/popular/topics', 'IndexController@populartopics')->name('popular_topics');
Route::get('/popular', 'IndexController@popular')->name('popular');
Route::get('/random', 'IndexController@random')->name('random');
+Route::get('/article/{id}', 'IndexController@show')->name('show')->where('id', '[0-9]+');
Route::get('/feed/new', 'FeedController@new')->name('feed_new');
+Route::get('/feed/mastodon', 'FeedController@mastodon')->name('feed_mastodon');
Route::get('/feed/popular', 'FeedController@popular')->name('feed_popular');
Route::get('/feed/search', 'FeedController@search')->name('feed_search');