mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Whitespace fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6351 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
3eb04c36db
commit
367d7a76fb
1 changed files with 9 additions and 9 deletions
|
@ -252,15 +252,15 @@ class Dispatcher extends Object {
|
|||
App::import('Core', 'Scaffold');
|
||||
return new Scaffold($controller, $params);
|
||||
} elseif ($missingAction && !in_array('scaffold', array_keys($classVars))) {
|
||||
return $this->cakeError('missingAction', array(
|
||||
array(
|
||||
'className' => Inflector::camelize($params['controller']."Controller"),
|
||||
'action' => $params['action'],
|
||||
'webroot' => $this->webroot,
|
||||
'url' => $this->here,
|
||||
'base' => $this->base
|
||||
)
|
||||
));
|
||||
return $this->cakeError('missingAction', array(
|
||||
array(
|
||||
'className' => Inflector::camelize($params['controller']."Controller"),
|
||||
'action' => $params['action'],
|
||||
'webroot' => $this->webroot,
|
||||
'url' => $this->here,
|
||||
'base' => $this->base
|
||||
)
|
||||
));
|
||||
} else {
|
||||
$output = call_user_func_array(array(&$controller, $params['action']), empty($params['pass'])? array(): $params['pass']);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue