mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 08:14:04 +02:00
Web/Controller: replace this->render()
This commit is contained in:
parent
1370ec7312
commit
12764c8482
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user