From: Hypolite Petovan Date: Mon, 6 May 2019 00:36:38 +0000 (-0400) Subject: Merge pull request #7084 from nupplaphil/task/mod_removetag X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bd604d1cfb07fe43016f07a6d1f82877dd910b4c;p=friendica.git Merge pull request #7084 from nupplaphil/task/mod_removetag Move mod/filerm to src/Module/Filer/RemoveTag --- bd604d1cfb07fe43016f07a6d1f82877dd910b4c diff --cc src/App/Router.php index 086d9d2809,48d63224ed..8373273b78 --- a/src/App/Router.php +++ b/src/App/Router.php @@@ -109,10 -109,10 +109,11 @@@ class Route $collector->addRoute(['GET'], '/{guid}/status_message', Module\Diaspora\Fetch::class); $collector->addRoute(['GET'], '/{guid}/reshare', Module\Diaspora\Fetch::class); }); - $this->routeCollector->addRoute(['GET'], '/filer[/{id:\d+}]', Module\Filer::class); + $this->routeCollector->addRoute(['GET'], '/filer[/{id:\d+}]', Module\Filer\SaveTag::class); + $this->routeCollector->addRoute(['GET'], '/filerm/{id:\d+}', Module\Filer\RemoveTag::class); $this->routeCollector->addRoute(['GET'], '/followers/{owner}', Module\Followers::class); $this->routeCollector->addRoute(['GET'], '/following/{owner}', Module\Following::class); + $this->routeCollector->addRoute(['GET'], '/friendica[/json]', Module\Friendica::class); $this->routeCollector->addGroup('/group', function (RouteCollector $collector) { $collector->addRoute(['GET', 'POST'], '[/]', Module\Group::class); $collector->addRoute(['GET', 'POST'], '/{group:\d+}', Module\Group::class);