mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 17:15:02 +00:00
Run symfonysetlist up to symfony_70
This commit is contained in:
@@ -30,7 +30,7 @@ class NewsItemApiController
|
||||
/**
|
||||
* Get list of news items filtered on start and end date.
|
||||
*/
|
||||
#[Route(path: '/api/1.0/main/news/current.json', methods: ['get'])]
|
||||
#[\Symfony\Component\Routing\Attribute\Route(path: '/api/1.0/main/news/current.json', methods: ['get'])]
|
||||
public function listCurrentNewsItems(): JsonResponse
|
||||
{
|
||||
$total = $this->newsItemRepository->countCurrentNews();
|
||||
|
Reference in New Issue
Block a user