<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class ErrorController extends AbstractController
{
public function show404Action(Request $request): Response
{
return $this->render('Index/notfound.html.twig');
}
}