Skip to content
Permalink
Browse files

Fixing failing test in Dispatcher caused by strtolower of method names.

  • Loading branch information...
markstory committed Jul 10, 2010
1 parent 413b875 commit eeda60b89e7c71225be61190bd1ba9a9fb6f6957
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/dispatcher.php
@@ -167,7 +167,7 @@ protected function _invoke(&$controller, $request) {
$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);

0 comments on commit eeda60b

Please sign in to comment.
You can’t perform that action at this time.