From: Hypolite Petovan Date: Sun, 5 May 2019 02:02:38 +0000 (-0400) Subject: Merge pull request #7089 from nupplaphil/task/mod_help X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0a8a614608937e5b14379944b5f867aac4c3d808;p=friendica.git Merge pull request #7089 from nupplaphil/task/mod_help Move mod/help to src/Module/Help --- 0a8a614608937e5b14379944b5f867aac4c3d808 diff --cc src/App/Router.php index 088f8dfdda,db6489adcd..011840d0fb --- a/src/App/Router.php +++ b/src/App/Router.php @@@ -125,8 -125,8 +125,9 @@@ class Route }); $this->routeCollector->addRoute(['GET'], '/hashtag', Module\Hashtag::class); $this->routeCollector->addRoute(['GET'], '/home', Module\Home::class); + $this->routeCollector->addRoute(['GET'], '/help[/{doc:.+}]', Module\Help::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);