From 3ec6a93f0352abf741d5c4547da6b2b66fef6d4a Mon Sep 17 00:00:00 2001 From: "mihail.kotliar" Date: Thu, 20 Feb 2020 18:07:05 +0200 Subject: [PATCH] fixed annotation for the putAction id to articleId for correct work --- src/Infrastructure/Http/Rest/Controller/ArticleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/Http/Rest/Controller/ArticleController.php b/src/Infrastructure/Http/Rest/Controller/ArticleController.php index 8181651..5f5a4d6 100644 --- a/src/Infrastructure/Http/Rest/Controller/ArticleController.php +++ b/src/Infrastructure/Http/Rest/Controller/ArticleController.php @@ -78,7 +78,7 @@ public function getArticles(): View /** * Replaces Article resource - * @Rest\Put("/articles/{id}") + * @Rest\Put("/articles/{articleId}") * @ParamConverter("articleDTO", converter="fos_rest.request_body") * @param int $articleId * @param ArticleDTO $articleDTO