Thomas Gelf 3c5a825f04 SettingsContoller: form should be a form...
...also added a LOT of userfriendly hints, errors and notes
2015-07-30 08:54:04 +02:00

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();
}
}