aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-07-27 12:56:59 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-27 12:56:59 +0200
commitb725eb047d233d6c7a505f160b57ebc399a24d45 (patch)
tree82fd145be054b882eba1ce646d2911736cef62c9
parenta285668ec4456c4d413c1d6dec275f1d18bf3f15 (diff)
downloadShaarli-b725eb047d233d6c7a505f160b57ebc399a24d45.tar.gz
Shaarli-b725eb047d233d6c7a505f160b57ebc399a24d45.tar.zst
Shaarli-b725eb047d233d6c7a505f160b57ebc399a24d45.zip
Fix links per page controller path
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 26e8da8e..24c273be 100644
--- a/index.php
+++ b/index.php
@@ -94,6 +94,7 @@ $app->group('', function () {
94 94
95 $this->get('/add-tag/{newTag}', '\Shaarli\Front\Controller\Visitor\TagController:addTag'); 95 $this->get('/add-tag/{newTag}', '\Shaarli\Front\Controller\Visitor\TagController:addTag');
96 $this->get('/remove-tag/{tag}', '\Shaarli\Front\Controller\Visitor\TagController:removeTag'); 96 $this->get('/remove-tag/{tag}', '\Shaarli\Front\Controller\Visitor\TagController:removeTag');
97 $this->get('/links-per-page', '\Shaarli\Front\Controller\Visitor\PublicSessionFilterController:linksPerPage');
97 98
98 /* -- LOGGED IN -- */ 99 /* -- LOGGED IN -- */
99 $this->get('/logout', '\Shaarli\Front\Controller\Admin\LogoutController:index'); 100 $this->get('/logout', '\Shaarli\Front\Controller\Admin\LogoutController:index');
@@ -124,7 +125,6 @@ $app->group('', function () {
124 $this->get('/admin/token', '\Shaarli\Front\Controller\Admin\TokenController:getToken'); 125 $this->get('/admin/token', '\Shaarli\Front\Controller\Admin\TokenController:getToken');
125 $this->get('/admin/thumbnails', '\Shaarli\Front\Controller\Admin\ThumbnailsController:index'); 126 $this->get('/admin/thumbnails', '\Shaarli\Front\Controller\Admin\ThumbnailsController:index');
126 127
127 $this->get('/links-per-page', '\Shaarli\Front\Controller\Admin\SessionFilterController:linksPerPage');
128 $this->get('/visibility/{visibility}', '\Shaarli\Front\Controller\Admin\SessionFilterController:visibility'); 128 $this->get('/visibility/{visibility}', '\Shaarli\Front\Controller\Admin\SessionFilterController:visibility');
129 $this->get('/untagged-only', '\Shaarli\Front\Controller\Admin\SessionFilterController:untaggedOnly'); 129 $this->get('/untagged-only', '\Shaarli\Front\Controller\Admin\SessionFilterController:untaggedOnly');
130})->add('\Shaarli\Front\ShaarliMiddleware'); 130})->add('\Shaarli\Front\ShaarliMiddleware');