]> git.mxchange.org Git - friendica.git/blobdiff - src/App/Router.php
Added post update to remove duplicated contacts
[friendica.git] / src / App / Router.php
index a54f3a711ee6cf87581b6fee082f4342cf7f2854..50b208792b76a08d55a4734f8c31edabd861f4ea 100644 (file)
@@ -94,6 +94,7 @@ class Router
                $this->routeCollector->addRoute(['GET'],         '/attach/{item:\d+}',   Module\Attach::class);
                $this->routeCollector->addRoute(['GET'],         '/babel',               Module\Debug\Babel::class);
                $this->routeCollector->addRoute(['GET'],         '/bookmarklet',         Module\Bookmarklet::class);
+               $this->routeCollector->addRoute(['GET', 'POST'], '/compose[/{type}]',    Module\Item\Compose::class);
                $this->routeCollector->addGroup('/contact', function (RouteCollector $collector) {
                        $collector->addRoute(['GET'], '[/]',                                 Module\Contact::class);
                        $collector->addRoute(['GET', 'POST'], '/{id:\d+}[/]',                Module\Contact::class);