Fix route when uncomment $namespace (#5424)

This commit is contained in:
Ricardo Gobbo de Souza 2020-09-22 11:23:40 -03:00 committed by GitHub
parent 6a9d5e0da1
commit d3353c9e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,9 +38,11 @@ class RouteServiceProvider extends ServiceProvider
$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'));
});
}