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')
|
array('class' => 'icon-left-big')
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->render('object/form', null, true);
|
$this->setViewScript('object/form');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function fieldsAction()
|
public function fieldsAction()
|
||||||
|
|
|
@ -173,7 +173,7 @@ abstract class ObjectsController extends ActionController
|
||||||
$this->getTabs()->activate('tree');
|
$this->getTabs()->activate('tree');
|
||||||
$this->view->tree = $this->db()->fetchTemplateTree(strtolower($this->getType()));
|
$this->view->tree = $this->db()->fetchTemplateTree(strtolower($this->getType()));
|
||||||
$this->view->objectTypeName = $this->getType();
|
$this->view->objectTypeName = $this->getType();
|
||||||
$this->render('objects/tree', null, true);
|
$this->setViewScript('objects/tree');
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function dummyObject()
|
protected function dummyObject()
|
||||||
|
|
Loading…
Reference in New Issue