Skip to content

Commit

Permalink
Shift cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
laravel-shift committed Oct 26, 2023
1 parent f2cf7a2 commit daa05d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public function map()
protected function mapWebRoutes()
{
Route::middleware('web')
->namespace($this->namespace)
->group(base_path('routes/web.php'));
->namespace($this->namespace)
->group(base_path('routes/web.php'));
}

/**
Expand All @@ -73,8 +73,8 @@ protected function mapWebRoutes()
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'));
}
}

0 comments on commit daa05d1

Please sign in to comment.