diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-05-12 12:44:48 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | 03340c18ead651ef9e11f883745695f2edafbae3 (patch) | |
tree | 619822bfb909f68f78f4a266a89e7249644b9d4c /index.php | |
parent | 8e47af2b3620c920116ec056173277c039163ec1 (diff) | |
download | Shaarli-03340c18ead651ef9e11f883745695f2edafbae3.tar.gz Shaarli-03340c18ead651ef9e11f883745695f2edafbae3.tar.zst Shaarli-03340c18ead651ef9e11f883745695f2edafbae3.zip |
Slim router: handle add tag route
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1916,6 +1916,7 @@ $app->group('', function () { | |||
1916 | $this->get('/login', '\Shaarli\Front\Controller\LoginController:index')->setName('login'); | 1916 | $this->get('/login', '\Shaarli\Front\Controller\LoginController:index')->setName('login'); |
1917 | $this->get('/logout', '\Shaarli\Front\Controller\LogoutController:index')->setName('logout'); | 1917 | $this->get('/logout', '\Shaarli\Front\Controller\LogoutController:index')->setName('logout'); |
1918 | $this->get('/picture-wall', '\Shaarli\Front\Controller\PictureWallController:index')->setName('picwall'); | 1918 | $this->get('/picture-wall', '\Shaarli\Front\Controller\PictureWallController:index')->setName('picwall'); |
1919 | $this->get('/add-tag/{newTag}', '\Shaarli\Front\Controller\TagController:addTag')->setName('add-tag'); | ||
1919 | })->add('\Shaarli\Front\ShaarliMiddleware'); | 1920 | })->add('\Shaarli\Front\ShaarliMiddleware'); |
1920 | 1921 | ||
1921 | $response = $app->run(true); | 1922 | $response = $app->run(true); |