From: ArthurHoaro Date: Mon, 27 Jul 2020 10:56:59 +0000 (+0200) Subject: Fix links per page controller path X-Git-Tag: v0.12.0-beta~4^2~7 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=b725eb047d233d6c7a505f160b57ebc399a24d45;p=github%2Fshaarli%2FShaarli.git Fix links per page controller path --- 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 () { $this->get('/add-tag/{newTag}', '\Shaarli\Front\Controller\Visitor\TagController:addTag'); $this->get('/remove-tag/{tag}', '\Shaarli\Front\Controller\Visitor\TagController:removeTag'); + $this->get('/links-per-page', '\Shaarli\Front\Controller\Visitor\PublicSessionFilterController:linksPerPage'); /* -- LOGGED IN -- */ $this->get('/logout', '\Shaarli\Front\Controller\Admin\LogoutController:index'); @@ -124,7 +125,6 @@ $app->group('', function () { $this->get('/admin/token', '\Shaarli\Front\Controller\Admin\TokenController:getToken'); $this->get('/admin/thumbnails', '\Shaarli\Front\Controller\Admin\ThumbnailsController:index'); - $this->get('/links-per-page', '\Shaarli\Front\Controller\Admin\SessionFilterController:linksPerPage'); $this->get('/visibility/{visibility}', '\Shaarli\Front\Controller\Admin\SessionFilterController:visibility'); $this->get('/untagged-only', '\Shaarli\Front\Controller\Admin\SessionFilterController:untaggedOnly'); })->add('\Shaarli\Front\ShaarliMiddleware');