mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
Commit test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5494 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
e4b57ef80f
commit
b948a9c17e
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ class TestDispatcher extends Dispatcher {
|
|||
$classVars = get_object_vars($controller);
|
||||
if ($missingAction && in_array('scaffold', array_keys($classVars))) {
|
||||
uses('controller'. DS . 'scaffold');
|
||||
|
||||
return new Scaffold($controller, $params);
|
||||
} elseif ($missingAction && !in_array('scaffold', array_keys($classVars))) {
|
||||
return $this->cakeError('missingAction', array(
|
||||
|
|
Loading…
Add table
Reference in a new issue