mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
KickstartController: not in branches
This commit is contained in:
parent
30bbf0836d
commit
13f6ff6131
@ -4,13 +4,19 @@ namespace Icinga\Module\Director\Controllers;
|
||||
|
||||
use Exception;
|
||||
use Icinga\Module\Director\Forms\KickstartForm;
|
||||
use Icinga\Module\Director\Web\Controller\BranchHelper;
|
||||
|
||||
class KickstartController extends DashboardController
|
||||
{
|
||||
use BranchHelper;
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$this->addSingleTab($this->translate('Kickstart'))
|
||||
->addTitle($this->translate('Director Kickstart Wizard'));
|
||||
if ($this->showNotInBranch($this->translate('Kickstart'))) {
|
||||
return;
|
||||
}
|
||||
$form = KickstartForm::load();
|
||||
try {
|
||||
$form->setEndpoint($this->db()->getDeploymentEndpoint());
|
||||
|
Loading…
x
Reference in New Issue
Block a user