Removed path workaround in PathVersionMiddleware and simplified code

This commit is contained in:
Alejandro Celaya
2018-04-07 08:31:03 +02:00
parent b3e25f28fd
commit 91d350b12f
3 changed files with 7 additions and 33 deletions

View File

@@ -21,7 +21,7 @@ return [
'priority' => 11,
],
'pre-routing-rest' => [
// 'path' => '/rest',
'path' => '/rest',
'middleware' => [
PathVersionMiddleware::class,
],