]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #7089 from nupplaphil/task/mod_help
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 5 May 2019 02:02:38 +0000 (22:02 -0400)
committerGitHub <noreply@github.com>
Sun, 5 May 2019 02:02:38 +0000 (22:02 -0400)
Move mod/help to src/Module/Help

1  2 
src/App/Router.php

index 088f8dfdda450075a0e0ed66f83cbb494d7da0d8,db6489adcd7a0d46c308902b8a156f544391fc00..011840d0fb4d24de192156b4e8adf26b3953d1ac
@@@ -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);