src/Controller/HomeController.php line 12
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class HomeController extends AbstractController
{
#[Route('/', name: 'home')]
public function index(): Response
{
return $this->render('home.html.twig', [
'controller_name' => 'EntityListController',
]);
}
#[Route('/search', name: 'home-search')]
public function indexSearch(): Response
{
return $this->render('home.html.twig', [
'controller_name' => 'EntityListController',
]);
}
}