Update RouteServiceProvider

pull/547/head
Daniel Supernault 6 years ago
parent 1a6219e7af
commit aa903a3902
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -65,8 +65,7 @@ class RouteServiceProvider extends ServiceProvider
*/
protected function mapApiRoutes()
{
Route::prefix('api')
->middleware('api')
Route::middleware('api')
->namespace($this->namespace)
->group(base_path('routes/api.php'));
}

Loading…
Cancel
Save