]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #7103 from nupplaphil/task/mod_smilies
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 6 May 2019 16:53:45 +0000 (12:53 -0400)
committerGitHub <noreply@github.com>
Mon, 6 May 2019 16:53:45 +0000 (12:53 -0400)
Move mod/smilies to src/Module/Smilies

1  2 
src/App/Router.php

index 8373273b78b228d1cec20633a1ad2161333fe872,30375667a372c0eb29a13b84ef9b9d9ee309e5ae..fc9bbdf15612b13e99f9cf2eeb2ed86900bba44d
@@@ -169,11 -164,10 +169,12 @@@ class Route
                        $collector->addRoute(['GET'], '/{sub1}/{sub2}/{url}'               , Module\Proxy::class);
                });
                $this->routeCollector->addRoute(['GET', 'POST'], '/register',            Module\Register::class);
 +              $this->routeCollector->addRoute(['GET'],         '/robots.txt',          Module\RobotsTxt::class);
                $this->routeCollector->addRoute(['GET'],         '/rsd.xml',             Module\ReallySimpleDiscovery::class);
+               $this->routeCollector->addRoute(['GET'],         '/smilies[/json]',      Module\Smilies::class);
                $this->routeCollector->addRoute(['GET'],         '/statistics.json',     Module\Statistics::class);
                $this->routeCollector->addRoute(['GET'],         '/tos',                 Module\Tos::class);
 +              $this->routeCollector->addRoute(['GET'],         '/viewsrc/{item:\d+}',  Module\ItemBody::class);
                $this->routeCollector->addRoute(['GET'],         '/webfinger',           Module\WebFinger::class);
                $this->routeCollector->addRoute(['GET'],         '/xrd',                 Module\Xrd::class);
        }