<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class DefaultController extends AbstractController
{
#[Route('/', name: 'app_default')]
public function index(): Response
{
return $this->redirect($this->generateUrl('app_notificacion_index',[]));
return $this->render('Default/index.html.twig', [
'controller_name' => 'DefaultController',
]);
}
}