icingaweb2-module-director/application/controllers/SettingsController.php

19 lines
447 B
PHP

<?php
use Icinga\Forms\ConfigForm;
use Icinga\Module\Director\Web\Controller\ActionController;
class Director_SettingsController extends ActionController
{
public function indexAction()
{
$this->view->tabs = $this->Module()
->getConfigTabs()
->activate('config');
$this->view->form = $this->loadForm('config')
->setModuleConfig($this->Config())
->handleRequest();
}
}