ServiceController: ask object for url params

This commit is contained in:
Thomas Gelf 2016-03-07 08:16:20 +01:00
parent f3ce5fab21
commit 0708dd774a
1 changed files with 3 additions and 3 deletions

View File

@ -13,9 +13,9 @@ class ServiceController extends ObjectController
parent::init();
if ($this->object && $this->object->object_type === 'apply') {
$this->getTabs()->add('assign', array(
'url' => 'director/service/assign',
'urlParams' => array('name' => $this->object->object_name),
'label' => 'Assign'
'url' => 'director/service/assign',
'urlParams' => $this->object->getUrlParams(),
'label' => 'Assign'
));
if ($host = $this->params->get('host')) {