add get annotation
This commit is contained in:
parent
e469e2d91c
commit
ae7fc029d5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user