Browse Source

Fix undeclared property.

mark_story 9 years ago
parent
commit
4ce55910cf
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/Routing/Middleware/RoutingMiddleware.php

+ 7 - 0
src/Routing/Middleware/RoutingMiddleware.php

@@ -31,6 +31,13 @@ use Zend\Diactoros\Response\RedirectResponse;
 class RoutingMiddleware
 {
     /**
+     * The application that will have its routing hook invoked.
+     *
+     * @var \Cake\Http\BaseApplication
+     */
+    protected $app;
+
+    /**
      * Constructor
      *
      * @param \Cake\Http\BaseApplication $app The application instance that routes are defined on.