mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 08:47:52 +00:00
[OPTIMISATION] Fixed Group only loading middleware when initialised.
This commit is contained in:
@@ -29,8 +29,6 @@ class RouterGroup extends RouterEntry {
|
|||||||
throw new RouterException('Method not allowed');
|
throw new RouterException('Method not allowed');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->loadMiddleware($request);
|
|
||||||
|
|
||||||
return parent::renderRoute($request);
|
return parent::renderRoute($request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user