]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
Create new Post/Share module class
[friendica.git] / static / routes.config.php
index 85171d2b7e6dd9ab01bd88cc281abb1fc19736de..3cb1b47e226166e7d5149ee16f3e4d5b9a85ef1f 100644 (file)
@@ -534,6 +534,7 @@ return [
        '/ping'              => [Module\Notifications\Ping::class, [R::GET]],
 
        '/post' => [
+               '/{post_id}/share'                                         => [Module\Post\Share::class,      [R::GET         ]],
                '/{item_id}/tag/add'                                       => [Module\Post\Tag\Add::class,    [        R::POST]],
                '/{item_id}/tag/remove[/{tag_name}]'                       => [Module\Post\Tag\Remove::class, [R::GET, R::POST]],
        ],