]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
Add new module and widget for managing saved searches
[friendica.git] / static / routes.config.php
index 1ba4a405210daf066ca902d9fb7e225f887764de..18144d79900a388b9236d9926b64c5aa409da5a6 100644 (file)
@@ -69,7 +69,7 @@ return [
        '/allfriends/{id:\d+}' => [Module\AllFriends::class,   [R::GET]],
        '/apps'                => [Module\Apps::class,         [R::GET]],
        '/attach/{item:\d+}'   => [Module\Attach::class,       [R::GET]],
-       '/babel'               => [Module\Debug\Babel::class,  [R::GET]],
+       '/babel'               => [Module\Debug\Babel::class,  [R::GET, R::POST]],
        '/bookmarklet'         => [Module\Bookmarklet::class,  [R::GET]],
        '/compose[/{type}]'    => [Module\Item\Compose::class, [R::GET, R::POST]],
 
@@ -189,7 +189,9 @@ return [
        ],
 
        '/search' => [
-               '/acl'                 => [Module\Search\Acl::class, [R::GET, R::POST]],
+               '/acl'                 => [Module\Search\Acl::class,   [R::GET, R::POST]],
+               '/saved/add/{term}'    => [Module\Search\Saved::class, [R::GET]],
+               '/saved/remove/{term}' => [Module\Search\Saved::class, [R::GET]],
        ],
 
        '/settings' => [