mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
Controllers: formatting
This commit is contained in:
parent
1ba276cf15
commit
68324d9b52
@ -362,7 +362,7 @@ abstract class ObjectController extends ActionController
|
||||
}
|
||||
|
||||
if (! $this->getRequest()->isApiRequest()) {
|
||||
$this->actions()->add(
|
||||
$this->actions()->add(
|
||||
DeploymentLinkForm::create($this->db(), $info, $this->Auth(), $this->api())->handleRequest()
|
||||
);
|
||||
}
|
||||
|
@ -36,11 +36,8 @@ abstract class ObjectsController extends ActionController
|
||||
if (substr($this->getType(), -5) === 'Group') {
|
||||
$tabName = 'groups';
|
||||
}
|
||||
$this->tabs(
|
||||
new ObjectsTabs($this->getBaseType(), $this->Auth())
|
||||
)->activate(
|
||||
$tabName
|
||||
);
|
||||
$this->tabs(new ObjectsTabs($this->getBaseType(), $this->Auth()))
|
||||
->activate($tabName);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user