src/Controller/InicioController.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Request;
  5. use Symfony\Component\HttpFoundation\Response;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. class InicioController extends AbstractController
  8. {
  9.     /**
  10.      * @Route("/inicio", name="inicio_inicio")
  11.      * 
  12.      */
  13.     public function inicio()
  14.     {
  15.         return $this->render('inicio/index.html.twig');
  16.     }
  17. }