commit
6ea531d2f8
1 changed files with 2 additions and 1 deletions
|
@ -1270,7 +1270,8 @@ class App
|
||||||
// First we try explicit routes defined in App\Router
|
// First we try explicit routes defined in App\Router
|
||||||
$this->router->collectRoutes();
|
$this->router->collectRoutes();
|
||||||
|
|
||||||
Hook::callAll('route_collection', $this->router->getRouteCollector());
|
$data = $this->router->getRouteCollector();
|
||||||
|
Hook::callAll('route_collection', $data);
|
||||||
|
|
||||||
$this->module_class = $this->router->getModuleClass($this->cmd);
|
$this->module_class = $this->router->getModuleClass($this->cmd);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue