<?php
namespace App\Controller;
use FOS\RestBundle\Controller\FOSRestController;
use FOS\RestBundle\Routing\ClassResourceInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class DefaultController extends FOSRestController implements ClassResourceInterface
{
/**
* Matches / exactly
*
* @Route("/", name="home")
*/
public function Default()
{
return $this->render('home/home.html.twig');
}
}