1
0
mirror of https://framagit.org/tykayn/date-poll-api synced 2023-08-25 08:23:11 +02:00

change base route for api index to see the app.php page

This commit is contained in:
tykayn 2020-04-24 14:02:19 +02:00
parent 4176922500
commit 835fbea23c

View File

@ -8,11 +8,11 @@ use FOS\RestBundle\Controller\Annotations\Route;
/** /**
* Class DefaultController * Class DefaultController
* @package App\Controller * @package App\Controller
* @Route("/",name="homepage") * @Route("/home",name="homepage")
*/ */
class IndexController extends FramadateController { class IndexController extends FramadateController {
/** /**
* @Get(path ="/", * @Get(path ="/index",
* name = "get_default") * name = "get_default")
*/ */
public function indexAction() { public function indexAction() {