aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/public_timelines.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/public_timelines.php')
-rw-r--r--routes/public_timelines.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/routes/public_timelines.php b/routes/public_timelines.php
deleted file mode 100644
index b60f141..0000000
--- a/routes/public_timelines.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-use Digitigrade\Router;
-use Digitigrade\Timeline\GlobalTimeline;
-use Digitigrade\Timeline\LocalTimeline;
-
-Router::getInstance()->mount('/feed/global', function (array $args) {
- $items = (new GlobalTimeline())->getPage();
- render_template('timeline', ['kind' => 'global', 'items' => $items]);
-});
-
-Router::getInstance()->mount('/feed/local', function (array $args) {
- $items = (new LocalTimeline())->getPage();
- render_template('timeline', ['kind' => 'local', 'items' => $items]);
-}); \ No newline at end of file