]> 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 c1546a634c0b80260453f964972c1f643a4de2ee..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]],
 
@@ -188,6 +188,12 @@ return [
                '/{sub1}/{sub2}/{url}' => [Module\Proxy::class, [R::GET]],
        ],
 
+       '/search' => [
+               '/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' => [
                '/2fa' => [
                        '[/]'           => [Module\Settings\TwoFactor\Index::class,       [R::GET, R::POST]],