<?php
namespace App\Controller\PUB;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
/**
* @Route("/")
*/
final class IndexController extends AbstractController
{
/**
* @Route("", name="index")
*/
public function index(): Response
{
return $this->render('pub/home.html.twig');
/*
return $this->render('mails/customer/wellcome.html.twig', [
'subject' => 'subject',
'URL_PUBLIC_API' => 'http://localhost:8080',
'user' => [
'name' => 'Ariadna'
]
]);
*/
}
}