add get annotation

This commit is contained in:
Tykayn 2021-04-08 17:49:53 +02:00 committed by tykayn
parent e469e2d91c
commit ae7fc029d5

View File

@ -5,6 +5,7 @@ namespace App\Controller;
use App\Entity\Poll; use App\Entity\Poll;
use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\Routing\Annotation\Route;
use FOS\RestBundle\Controller\Annotations\Get;
/** /**
* Class DefaultController * Class DefaultController
* @package App\Controller * @package App\Controller