Fix route when uncomment $namespace (#5424)

This commit is contained in:
Ricardo Gobbo de Souza
2020-09-22 09:23:40 -05:00
committed by GitHub
parent 6a9d5e0da1
commit d3353c9e9a
+2
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'));
});
}