From 5179a706e55ccf74a32224051a75ce053f617acc Mon Sep 17 00:00:00 2001 From: Reindert <16726304+reindert-vetter@users.noreply.github.com> Date: Tue, 28 Sep 2021 15:37:49 +0200 Subject: [PATCH] Use route names in default config file --- config/api_version_control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/api_version_control.php b/config/api_version_control.php index ae51d24..f90b894 100644 --- a/config/api_version_control.php +++ b/config/api_version_control.php @@ -12,13 +12,13 @@ 'releases' => [ - 'GET/orders' => [ + 'orders.index' => [ '<=1.0' => [ ExamplePrepareParameterException::class, ], ], - '(POST|PUT)/orders' => [ + 'orders.update' => [ '<=2.0' => [ ExampleThrowHumanException::class, ],