parent
6be7daf36a
commit
44c2a1b7db
|
@ -29,6 +29,9 @@ class HostsController extends ObjectsController
|
||||||
$url = clone($this->getRequest()->getUrl());
|
$url = clone($this->getRequest()->getUrl());
|
||||||
$url->setPath('director/hosts/addservice');
|
$url->setPath('director/hosts/addservice');
|
||||||
|
|
||||||
|
$urlSet = clone($url);
|
||||||
|
$urlSet->setPath('director/hosts/addserviceset');
|
||||||
|
|
||||||
parent::editAction();
|
parent::editAction();
|
||||||
|
|
||||||
$this->actions()->add(Link::create(
|
$this->actions()->add(Link::create(
|
||||||
|
@ -38,7 +41,7 @@ class HostsController extends ObjectsController
|
||||||
['class' => 'icon-plus']
|
['class' => 'icon-plus']
|
||||||
))->add(Link::create(
|
))->add(Link::create(
|
||||||
$this->translate('Add Service Set'),
|
$this->translate('Add Service Set'),
|
||||||
clone($url)->setPath('director/hosts/addserviceset'),
|
$urlSet,
|
||||||
null,
|
null,
|
||||||
['class' => 'icon-plus']
|
['class' => 'icon-plus']
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in New Issue