summaryrefslogtreecommitdiff
path: root/routes/web.php
diff options
context:
space:
mode:
authorhorus2024-01-15 23:03:17 +0100
committerhorus2024-01-15 23:03:17 +0100
commit32f972b2ac74e4fa553ef27ef004c8cce85aad36 (patch)
treeec0bf1a2fb20a12ce1d7432e4dc69d201ac3eb0c /routes/web.php
parent67e074289a05e2b21235ea369b3a0c04211aee87 (diff)
downloadcurious-32f972b2ac74e4fa553ef27ef004c8cce85aad36.tar.gz
adds support for mastofeed.org to publish automatically to Mastodon
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');