]> git.mxchange.org Git - friendica.git/commitdiff
change route
authorPhilipp Holzer <admin+github@philipp.info>
Sun, 19 May 2019 01:05:21 +0000 (03:05 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sun, 19 May 2019 01:05:21 +0000 (03:05 +0200)
src/App/Router.php

index 7e4c35ff017c9e9f39d82763dc21dfdf66eae879..8d61645394b2b7de696c5ae7b8fb0650c75adb68 100644 (file)
@@ -202,7 +202,7 @@ class Router
                $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'],         '/view/theme/{theme:.+}',  Module\Theme::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);