mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +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();
|
$form->handleRequest();
|
||||||
$this->render('object/form', null, true);
|
$this->setViewScript('object/form');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function propertyAction()
|
public function propertyAction()
|
||||||
@ -70,7 +70,7 @@ class SyncruleController extends ActionController
|
|||||||
$this->view->table = $this->loadTable('syncproperty')
|
$this->view->table = $this->loadTable('syncproperty')
|
||||||
->enforceFilter(Filter::where('rule_id', $id))
|
->enforceFilter(Filter::where('rule_id', $id))
|
||||||
->setConnection($this->db());
|
->setConnection($this->db());
|
||||||
$this->render('list/table', null, true);
|
$this->setViewScript('list/table');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function editpropertyAction()
|
public function editpropertyAction()
|
||||||
@ -106,7 +106,7 @@ class SyncruleController extends ActionController
|
|||||||
$this->view->table = $this->loadTable('syncproperty')
|
$this->view->table = $this->loadTable('syncproperty')
|
||||||
->enforceFilter(Filter::where('rule_id', $rule_id))
|
->enforceFilter(Filter::where('rule_id', $rule_id))
|
||||||
->setConnection($this->db());
|
->setConnection($this->db());
|
||||||
$this->render('list/table', null, true);
|
$this->setViewScript('list/table');
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function prepareRuleTabs($ruleId = null)
|
protected function prepareRuleTabs($ruleId = null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user