ObjectController: allow fields for any command

This commit is contained in:
Thomas Gelf 2016-02-04 10:26:16 +01:00
parent 2d40ffa1e0
commit 12d6381e44
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ abstract class ObjectController extends ActionController
if ($object->hasBeenLoadedFromDb()
&& $object->supportsFields()
&& $object->isTemplate()
&& ($object->isTemplate() || $type === 'command')
) {
$tabs->add('fields', array(
'url' => sprintf('director/%s/fields', $type),