]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #7162 from nupplaphil/task/mod_view
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 19 May 2019 01:07:27 +0000 (21:07 -0400)
committerGitHub <noreply@github.com>
Sun, 19 May 2019 01:07:27 +0000 (21:07 -0400)
Move mod/view to src/Module/Theme

1  2 
src/App/Router.php

index 133544c819c233ac558dedaa7884bf541eefbd4f,8d61645394b2b7de696c5ae7b8fb0650c75adb68..af9ed0f481467c332c6a95a9f7bef6b2412cf8c3
@@@ -207,8 -201,8 +207,9 @@@ class Route
                $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'],         '/toggle_mobile',       Module\ToggleMobile::class);
                $this->routeCollector->addRoute(['GET'],         '/tos',                 Module\Tos::class);
+               $this->routeCollector->addRoute(['GET'],         '/view/theme/{theme}/style.pcss',  Module\Theme::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);