diff options
Diffstat (limited to 'lib/Controller/NavigationController.php')
-rw-r--r-- | lib/Controller/NavigationController.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Controller/NavigationController.php b/lib/Controller/NavigationController.php index 0684a61a..3f82ea57 100644 --- a/lib/Controller/NavigationController.php +++ b/lib/Controller/NavigationController.php @@ -90,7 +90,7 @@ class NavigationController extends Controller { CheckService $checkService, MiscService $miscService ) { - parent::__construct(Application::APP_NAME, $request); + parent::__construct(Application::APP_ID, $request); $this->userId = $userId; $this->l10n = $l10n; @@ -140,8 +140,8 @@ class NavigationController extends Controller { if ($cloudAddress !== null) { $this->configService->setCloudUrl($cloudAddress); } else { - $this->initialStateService->provideInitialState(Application::APP_NAME, 'serverData', $serverData); - return new TemplateResponse(Application::APP_NAME, 'main'); + $this->initialStateService->provideInitialState(Application::APP_ID, 'serverData', $serverData); + return new TemplateResponse(Application::APP_ID, 'main'); } } } @@ -172,8 +172,8 @@ class NavigationController extends Controller { $serverData['checks'] = $checks; } - $this->initialStateService->provideInitialState(Application::APP_NAME, 'serverData', $serverData); - return new TemplateResponse(Application::APP_NAME, 'main'); + $this->initialStateService->provideInitialState(Application::APP_ID, 'serverData', $serverData); + return new TemplateResponse(Application::APP_ID, 'main'); } private function setupCloudAddress(): string { |