This commit is contained in:
Dennis Eichhorn 2023-05-30 13:57:02 +00:00
commit 45be0c3e4a
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ final class BackendController extends Controller
{ {
$view = new View($this->app->l11nManager, $request, $response); $view = new View($this->app->l11nManager, $request, $response);
$view->setTemplate('/Modules/PL/Theme/Backend/pl-dashboard'); $view->setTemplate('/Modules/PL/Theme/Backend/pl-dashboard');
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1006401001, $request, $response)); $view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1006401001, $request, $response);
return $view; return $view;
} }

View File

@ -12,4 +12,4 @@
*/ */
declare(strict_types=1); declare(strict_types=1);
echo $this->getData('nav')->render(); echo $this->data['nav']->render();