]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - index.php
Slim router: handle add tag route
[github/shaarli/Shaarli.git] / index.php
index 57e13d4e4f0c19c9e97dc44ebd45380a8b5bf5d5..a42c844a8bac754d1e4fccf3118cb75f1460d5f3 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1916,6 +1916,7 @@ $app->group('', function () {
     $this->get('/login', '\Shaarli\Front\Controller\LoginController:index')->setName('login');
     $this->get('/logout', '\Shaarli\Front\Controller\LogoutController:index')->setName('logout');
     $this->get('/picture-wall', '\Shaarli\Front\Controller\PictureWallController:index')->setName('picwall');
+    $this->get('/add-tag/{newTag}', '\Shaarli\Front\Controller\TagController:addTag')->setName('add-tag');
 })->add('\Shaarli\Front\ShaarliMiddleware');
 
 $response = $app->run(true);