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
1 changed files with 2 additions and 2 deletions

View File

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