]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #7084 from nupplaphil/task/mod_removetag
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 6 May 2019 00:36:38 +0000 (20:36 -0400)
committerGitHub <noreply@github.com>
Mon, 6 May 2019 00:36:38 +0000 (20:36 -0400)
Move mod/filerm to src/Module/Filer/RemoveTag

1  2 
src/App/Router.php

index 086d9d2809f93c47701943c20977da4e325c4384,48d63224ed855f51cb75b38eedae9c8521281972..8373273b78b228d1cec20633a1ad2161333fe872
@@@ -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);