diff --git a/lib/Cake/Routing/Dispatcher.php b/lib/Cake/Routing/Dispatcher.php index f94bd2ae5..5875406ec 100644 --- a/lib/Cake/Routing/Dispatcher.php +++ b/lib/Cake/Routing/Dispatcher.php @@ -82,7 +82,7 @@ class Dispatcher { if (!($controller instanceof Controller)) { throw new MissingControllerException(array( 'class' => Inflector::camelize($request->params['controller']) . 'Controller', - 'plugin' => empty($request->params['controller']) ? null : Inflector::camelize($request->params['plugin']) + 'plugin' => empty($request->params['plugin']) ? null : Inflector::camelize($request->params['plugin']) )); }