]> git.mxchange.org Git - friendica.git/commitdiff
Add missing /babel route methods
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 4 Oct 2019 02:41:11 +0000 (22:41 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 4 Oct 2019 02:41:11 +0000 (22:41 -0400)
static/routes.config.php

index 1ba4a405210daf066ca902d9fb7e225f887764de..73ac54991f08109efd0c623e2a7fbdb7aaade643 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]],