ObjectController: no "edit" tab, got to /<object>
This commit is contained in:
parent
f818cb3eb6
commit
489fb661d9
|
@ -25,7 +25,7 @@ abstract class ObjectController extends ActionController
|
||||||
$params['name'] = $object->object_name;
|
$params['name'] = $object->object_name;
|
||||||
|
|
||||||
$tabs = $this->getTabs()->add('modify', array(
|
$tabs = $this->getTabs()->add('modify', array(
|
||||||
'url' => sprintf('director/%s/edit', $type),
|
'url' => sprintf('director/%s', $type),
|
||||||
'urlParams' => $params,
|
'urlParams' => $params,
|
||||||
'label' => $this->translate(ucfirst($type))
|
'label' => $this->translate(ucfirst($type))
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in New Issue