From 436630598e52b842429efcbca458918d41c12514 Mon Sep 17 00:00:00 2001 From: dmoreau Date: Mon, 18 Nov 2024 11:38:01 +0100 Subject: [PATCH] ajout resource pour test --- src/Controller/Api/ApiController.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Controller/Api/ApiController.php b/src/Controller/Api/ApiController.php index ec378f9..faca569 100644 --- a/src/Controller/Api/ApiController.php +++ b/src/Controller/Api/ApiController.php @@ -15,4 +15,10 @@ public function documentation(): Response 'controller_name' => 'ApiController', ]); } + + #[Route('/api/test', name: 'api_test')] + public function test(): Response + { + return new Response('ça marche', Response::HTTP_OK); + } }