mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
Web/Controller: replace this->render()
This commit is contained in:
parent
1370ec7312
commit
12764c8482
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue