ObjectController: formatting

This commit is contained in:
Thomas Gelf 2015-10-15 23:49:34 +02:00
parent c4f8425634
commit b376527c44
1 changed files with 4 additions and 1 deletions

View File

@ -66,7 +66,10 @@ abstract class ObjectController extends ActionController
$type = $this->getType();
$this->getTabs()->activate('render');
$this->view->object = $this->object;
$this->view->title = sprintf($this->translate('Config preview: %s'), $this->object->object_name);
$this->view->title = sprintf(
$this->translate('Config preview: %s'),
$this->object->object_name
);
$this->render('object/show', null, true);
}