From: Hypolite Petovan Date: Sat, 4 May 2019 23:30:13 +0000 (-0400) Subject: Merge pull request #7088 from nupplaphil/task/mod_invite X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3118453fb9ccc5569ca4247616ce064618be0b4b;p=friendica.git Merge pull request #7088 from nupplaphil/task/mod_invite Move mod/invite to src/Module/Invite --- 3118453fb9ccc5569ca4247616ce064618be0b4b diff --cc src/App/Router.php index d35977dde1,ba84b50f20..088f8dfdda --- a/src/App/Router.php +++ b/src/App/Router.php @@@ -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);