mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Update RouteServiceProvider.php (#5818)
This commit is contained in:
parent
345e46569d
commit
4a6229aa65
@ -31,11 +31,9 @@ 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'));
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user