src/Controller/PUB/IndexController.php line 17

Open in your IDE?
  1. <?php
  2. namespace App\Controller\PUB;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. /**
  7.  * @Route("/")
  8.  */
  9. final class IndexController extends AbstractController
  10. {
  11.     /**
  12.      * @Route("", name="index")
  13.      */
  14.     public function index(): Response
  15.     {
  16.         return $this->render('pub/home.html.twig');
  17.         /*
  18.         return $this->render('mails/customer/wellcome.html.twig', [
  19.             'subject' => 'subject',
  20.             'URL_PUBLIC_API' => 'http://localhost:8080',
  21.             'user' => [
  22.                 'name' => 'Ariadna'
  23.             ]
  24.         ]);
  25.         */
  26.     }
  27. }