Skip to content

Commit

Permalink
Fix route when uncomment $namespace (#5424)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Sep 22, 2020
1 parent 6a9d5e0 commit d3353c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ public function boot()
$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'));
});
}
Expand Down

0 comments on commit d3353c9

Please sign in to comment.