Browse Source

use class name to be consistent with web middleware

Taylor Otwell 4 years ago
parent
commit
140d4d9b0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Kernel.php

+ 1 - 1
app/Http/Kernel.php

@@ -39,7 +39,7 @@ class Kernel extends HttpKernel
 
         'api' => [
             'throttle:60,1',
-            'bindings',
+            \Illuminate\Routing\Middleware\SubstituteBindings::class,
         ],
     ];