ObjectController: add missing title

This commit is contained in:
Thomas Gelf 2015-08-28 16:51:41 +02:00
parent 5d643534ad
commit 3ddd6291e4
1 changed files with 1 additions and 0 deletions

View File

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