Web/Controller: replace this->render()

This commit is contained in:
Thomas Gelf 2016-06-13 20:06:58 +02:00
parent 1370ec7312
commit 12764c8482
2 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ abstract class ObjectController extends ActionController
array('class' => 'icon-left-big')
);
$this->render('object/form', null, true);
$this->setViewScript('object/form');
}
public function fieldsAction()

View File

@ -173,7 +173,7 @@ abstract class ObjectsController extends ActionController
$this->getTabs()->activate('tree');
$this->view->tree = $this->db()->fetchTemplateTree(strtolower($this->getType()));
$this->view->objectTypeName = $this->getType();
$this->render('objects/tree', null, true);
$this->setViewScript('objects/tree');
}
protected function dummyObject()