ServiceController: offer assign only for apply

This commit is contained in:
Thomas Gelf 2016-02-24 21:40:46 +01:00
parent 39f789aa7b
commit 0e11d60928

View File

@ -11,7 +11,7 @@ class ServiceController extends ObjectController
public function init()
{
parent::init();
if ($this->object) {
if ($this->object && $this->object->object_type === 'apply') {
$this->getTabs()->add('assign', array(
'url' => 'director/service/assign',
'urlParams' => array('name' => $this->object->object_name),