aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-08-31 13:58:09 +0200
committerArthurHoaro <arthur@hoa.ro>2020-08-31 14:09:27 +0200
commit63b0059ed55dceaa58396b7baeb2b490b57ce9cc (patch)
treeac074a14319e830f17750333fd76006f776f0de0 /index.php
parentbea062149ebcb4663861edb1cc0a32faf85b273f (diff)
downloadShaarli-63b0059ed55dceaa58396b7baeb2b490b57ce9cc.tar.gz
Shaarli-63b0059ed55dceaa58396b7baeb2b490b57ce9cc.tar.zst
Shaarli-63b0059ed55dceaa58396b7baeb2b490b57ce9cc.zip
Fix broken route to filter not tagged bookmarks
Also display the filter for visitors. Fixes #1529
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index e7471823..869f42de 100644
--- a/index.php
+++ b/index.php
@@ -95,7 +95,7 @@ $app->group('', function () {
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 $this->get('/links-per-page', '\Shaarli\Front\Controller\Visitor\PublicSessionFilterController:linksPerPage');
98 $this->get('/untagged-only', '\Shaarli\Front\Controller\Admin\PublicSessionFilterController:untaggedOnly'); 98 $this->get('/untagged-only', '\Shaarli\Front\Controller\Visitor\PublicSessionFilterController:untaggedOnly');
99})->add('\Shaarli\Front\ShaarliMiddleware'); 99})->add('\Shaarli\Front\ShaarliMiddleware');
100 100
101$app->group('/admin', function () { 101$app->group('/admin', function () {