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:
parent
4176922500
commit
835fbea23c
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user