mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
SyncruleController: do not directly call render()
This commit is contained in:
parent
c76d3b27bd
commit
5776a90a6a
@ -49,7 +49,7 @@ class SyncruleController extends ActionController
|
||||
}
|
||||
|
||||
$form->handleRequest();
|
||||
$this->render('object/form', null, true);
|
||||
$this->setViewScript('object/form');
|
||||
}
|
||||
|
||||
public function propertyAction()
|
||||
@ -70,7 +70,7 @@ class SyncruleController extends ActionController
|
||||
$this->view->table = $this->loadTable('syncproperty')
|
||||
->enforceFilter(Filter::where('rule_id', $id))
|
||||
->setConnection($this->db());
|
||||
$this->render('list/table', null, true);
|
||||
$this->setViewScript('list/table');
|
||||
}
|
||||
|
||||
public function editpropertyAction()
|
||||
@ -106,7 +106,7 @@ class SyncruleController extends ActionController
|
||||
$this->view->table = $this->loadTable('syncproperty')
|
||||
->enforceFilter(Filter::where('rule_id', $rule_id))
|
||||
->setConnection($this->db());
|
||||
$this->render('list/table', null, true);
|
||||
$this->setViewScript('list/table');
|
||||
}
|
||||
|
||||
protected function prepareRuleTabs($ruleId = null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user