diff options
Diffstat (limited to 'app/Providers/RouteServiceProvider.php')
-rw-r--r--[-rwxr-xr-x] | app/Providers/RouteServiceProvider.php | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index e91ab48..5ea48d3 100755..100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -2,8 +2,8 @@ namespace App\Providers; -use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Route; +use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { @@ -52,12 +52,8 @@ class RouteServiceProvider extends ServiceProvider protected function mapWebRoutes() { Route::middleware('web') - ->namespace($this->namespace) - ->group(base_path('routes/web.php')); - - Route::middleware('web') - ->namespace($this->namespace) - ->group(base_path('routes/keys.php')); + ->namespace($this->namespace) + ->group(base_path('routes/web.php')); } /** @@ -70,8 +66,8 @@ class RouteServiceProvider extends ServiceProvider protected function mapApiRoutes() { Route::prefix('api') - ->middleware('api') - ->namespace($this->namespace) - ->group(base_path('routes/api.php')); + ->middleware('api') + ->namespace($this->namespace) + ->group(base_path('routes/api.php')); } } |