diff options
| author | horus | 2026-03-25 14:40:13 +0100 |
|---|---|---|
| committer | horus | 2026-03-25 14:40:13 +0100 |
| commit | 742526761dea5fe0df74d04c038fb9feb45bce94 (patch) | |
| tree | 4e907ce59587bca74bac425c0e4c0a427d0c82d6 /app/Http/Controllers | |
| parent | 2bb1fb114ad47e5063aa72b7d31065531f4db3d4 (diff) | |
| download | curious-742526761dea5fe0df74d04c038fb9feb45bce94.tar.gz | |
Feeds for Mastodon
Diffstat (limited to 'app/Http/Controllers')
| -rw-r--r-- | app/Http/Controllers/FeedController.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Http/Controllers/FeedController.php b/app/Http/Controllers/FeedController.php index 5b9c36a..43b31ef 100644 --- a/app/Http/Controllers/FeedController.php +++ b/app/Http/Controllers/FeedController.php @@ -24,6 +24,11 @@ class FeedController extends Controller $articles = Article::orderBy('created_at', 'desc')->take(20)->get(); return Helper::makeFeed($articles, "mastodon"); } + public function mastodon_test() + { + $articles = Article::orderBy('created_at', 'desc')->take(20)->get(); + return Helper::makeFeed($articles, "mastodon_test"); + } public function popular() { |
