src/Controller/AppController.php line 16

Open in your IDE?
  1. <?php
  2. namespace WMC\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 AppController extends AbstractController
  8. {
  9.     /**
  10.      * @Route("/")
  11.      */
  12.     public function indexAction(Request $request): Response
  13.     {
  14.         return $this->render('index.html.twig');
  15.     }
  16. }