Controllers: no forward, web2 broke it again
This commit is contained in:
parent
3f3fbacedd
commit
e4738f966d
|
@ -6,12 +6,12 @@ class Director_DatafieldController extends ActionController
|
|||
{
|
||||
public function addAction()
|
||||
{
|
||||
$this->forward('index', 'datafield', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function editAction()
|
||||
{
|
||||
$this->forward('index', 'datafield', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
|
|
|
@ -6,12 +6,12 @@ class Director_DatalistController extends ActionController
|
|||
{
|
||||
public function addAction()
|
||||
{
|
||||
$this->forward('index', 'datalist', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function editAction()
|
||||
{
|
||||
$this->forward('index', 'datalist', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
|
|
|
@ -6,15 +6,15 @@ class Director_DatalistentryController extends ActionController
|
|||
{
|
||||
public function addAction()
|
||||
{
|
||||
$this->forward('index', 'datalistentry', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function editAction()
|
||||
{
|
||||
$this->forward('index', 'datalistentry', 'director', array('edit' => true));
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
public function indexAction($edit = false)
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
|
|
|
@ -11,12 +11,12 @@ class Director_ImportsourceController extends ActionController
|
|||
{
|
||||
public function addAction()
|
||||
{
|
||||
$this->forward('index', 'importsource', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function editAction()
|
||||
{
|
||||
$this->forward('index', 'importsource', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function runAction()
|
||||
|
|
|
@ -10,12 +10,12 @@ class Director_SyncpropertyController extends ActionController
|
|||
{
|
||||
public function addAction()
|
||||
{
|
||||
$this->forward('index', 'syncproperty', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function editAction()
|
||||
{
|
||||
$this->forward('index', 'syncproperty', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function runAction()
|
||||
|
|
|
@ -10,12 +10,12 @@ class Director_SyncruleController extends ActionController
|
|||
{
|
||||
public function addAction()
|
||||
{
|
||||
$this->forward('index', 'syncrule', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function editAction()
|
||||
{
|
||||
$this->forward('index', 'syncrule', 'director');
|
||||
$this->indexAction();
|
||||
}
|
||||
|
||||
public function runAction()
|
||||
|
|
Loading…
Reference in New Issue