Browse Source

Merge pull request #16980 from cakephp/ADmad-patch-1

Fix key name
Mark Story 3 years ago
parent
commit
77fe71c2ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Controller/ControllerFactory.php

+ 1 - 1
src/Controller/ControllerFactory.php

@@ -346,7 +346,7 @@ class ControllerFactory implements ControllerFactoryInterface, RequestHandlerInt
     protected function missingController(ServerRequest $request)
     {
         return new MissingControllerException([
-            'class' => $request->getParam('controller'),
+            'controller' => $request->getParam('controller'),
             'plugin' => $request->getParam('plugin'),
             'prefix' => $request->getParam('prefix'),
             '_ext' => $request->getParam('_ext'),