From: Hypolite Petovan Date: Mon, 6 May 2019 16:53:45 +0000 (-0400) Subject: Merge pull request #7103 from nupplaphil/task/mod_smilies X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=20c9d5fe1dfdea55f920a1a53a1d34e4a540a0a4;p=friendica.git Merge pull request #7103 from nupplaphil/task/mod_smilies Move mod/smilies to src/Module/Smilies --- 20c9d5fe1dfdea55f920a1a53a1d34e4a540a0a4 diff --cc src/App/Router.php index 8373273b78,30375667a3..fc9bbdf156 --- a/src/App/Router.php +++ b/src/App/Router.php @@@ -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); }