Pull routes after booting application.
This commit is contained in:
parent
b0334fd4de
commit
c33453e97f
|
@ -23,7 +23,10 @@ public function before()
|
||||||
*/
|
*/
|
||||||
public function map()
|
public function map()
|
||||||
{
|
{
|
||||||
require app_path().'/src/Http/routes.php';
|
$this->app->booted(function()
|
||||||
|
{
|
||||||
|
require app('path.src').'/Http/routes.php';
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue