mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-11-01 11:48:43 +01:00
20 lines
482 B
PHP
20 lines
482 B
PHP
<?php
|
|
// @codingStandardsIgnoreStart
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
use Icinga\Web\Controller\ActionController;
|
|
use Icinga\Web\Menu;
|
|
use Icinga\Web\Url;
|
|
|
|
class LayoutController extends ActionController
|
|
{
|
|
public function menuAction()
|
|
{
|
|
$this->view->url = Url::fromRequest()->getRelativeUrl();
|
|
$this->view->items = Menu::fromConfig()->getChildren();
|
|
$this->view->sub = false;
|
|
}
|
|
}
|
|
// @codingStandardsIgnoreEnd
|