Fix route when uncomment $namespace (#5424)
This commit is contained in:
parent
6a9d5e0da1
commit
d3353c9e9a
|
@ -38,9 +38,11 @@ public function boot()
|
|||
$this->routes(function () {
|
||||
Route::prefix('api')
|
||||
->middleware('api')
|
||||
->namespace($this->namespace)
|
||||
->group(base_path('routes/api.php'));
|
||||
|
||||
Route::middleware('web')
|
||||
->namespace($this->namespace)
|
||||
->group(base_path('routes/web.php'));
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue