]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #7088 from nupplaphil/task/mod_invite
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 4 May 2019 23:30:13 +0000 (19:30 -0400)
committerGitHub <noreply@github.com>
Sat, 4 May 2019 23:30:13 +0000 (19:30 -0400)
Move mod/invite to src/Module/Invite

1  2 
src/App/Router.php

index d35977dde15ad35b3e95c4694364af0d906de566,ba84b50f2002d3843359d463bb4ac08bdd4f07ae..088f8dfdda450075a0e0ed66f83cbb494d7da0d8
@@@ -124,8 -123,8 +124,9 @@@ class Route
                        $collector->addRoute(['POST'], '/{group:\d+}/remove/{contact:\d+}',  Module\Group::class);
                });
                $this->routeCollector->addRoute(['GET'],         '/hashtag',             Module\Hashtag::class);
 +              $this->routeCollector->addRoute(['GET'],         '/home',                Module\Home::class);
                $this->routeCollector->addRoute(['GET'],         '/inbox[/{nickname}]',  Module\Inbox::class);
+               $this->routeCollector->addRoute(['GET', 'POST'], '/invite',              Module\Invite::class);
                $this->routeCollector->addGroup('/install', function (RouteCollector $collector) {
                        $collector->addRoute(['GET', 'POST'], '[/]',                         Module\Install::class);
                        $collector->addRoute(['GET'],         '/testrewrite',                Module\Install::class);