diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-08-31 13:58:09 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-08-31 14:09:27 +0200 |
commit | 63b0059ed55dceaa58396b7baeb2b490b57ce9cc (patch) | |
tree | ac074a14319e830f17750333fd76006f776f0de0 /index.php | |
parent | bea062149ebcb4663861edb1cc0a32faf85b273f (diff) | |
download | Shaarli-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 () { |