aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Service/ThemeInjectionService.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/lib/Service/ThemeInjectionService.php')
-rw-r--r--apps/theming/lib/Service/ThemeInjectionService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Service/ThemeInjectionService.php b/apps/theming/lib/Service/ThemeInjectionService.php
index e00839c21c5..81edc19bc4b 100644
--- a/apps/theming/lib/Service/ThemeInjectionService.php
+++ b/apps/theming/lib/Service/ThemeInjectionService.php
@@ -75,7 +75,7 @@ class ThemeInjectionService {
* @param string $media media query to use in the <link> element
*/
private function addThemeHeader(string $themeId, bool $plain = true, string $media = null) {
- $linkToCSS = $this->urlGenerator->linkToRoute('theming.Theming.getThemeVariables', [
+ $linkToCSS = $this->urlGenerator->linkToRoute('theming.Theming.getThemeStylesheet', [
'themeId' => $themeId,
'plain' => $plain,
]);