Config: add new test url

refs #9434
This commit is contained in:
Alexander Fuhr 2015-06-17 19:04:04 +02:00
parent a80c295314
commit 54f7b64844
3 changed files with 10 additions and 4 deletions

View File

@ -21,7 +21,6 @@ class Director_ConfigController extends ActionController
{
/** @var IcingaConfig $config */
$config = IcingaConfig::generate($this->db());
$config->store();
$this->view->id = $config->getHexChecksum();
}
}

View File

@ -0,0 +1,7 @@
<div class="controls">
<?= $this->tabs ?>
</div>
<div class="content">
<?= $this->id ?>
</div>

View File

@ -53,8 +53,8 @@ $section->add($this->translate('Activity Log'))
->setUrl('director/list/activitylog')
->setPriority(900);
$section->add($this->translate('Show config'))
->setUrl('director/conf/show')
->setUrl('director/config/show')
->setPriority(902);
$section->add($this->translate('Store config'))
->setUrl('director/conf/store')
->setUrl('director/config/store')
->setPriority(902);