Controllers: formatting

This commit is contained in:
Thomas Gelf 2017-07-20 09:53:31 +02:00
parent 1ba276cf15
commit 68324d9b52
2 changed files with 3 additions and 6 deletions

View File

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

View File

@ -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;
}