Skip to content

Commit

Permalink
ajout resource pour test
Browse files Browse the repository at this point in the history
  • Loading branch information
moreaud committed Nov 18, 2024
1 parent 9c044ae commit 4366305
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Controller/Api/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 4366305

Please sign in to comment.