diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 98d0665ff..7f8db6e90 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -167,7 +167,7 @@ class Dispatcher { $methods = array_flip($controller->methods); - if (!isset($methods[strtolower($request['action'])])) { + if (!isset($methods[$request->params['action']])) { if ($controller->scaffold !== false) { App::import('Controller', 'Scaffold', false); return new Scaffold($controller, $request);