src/Controller/IndexController.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. class IndexController extends AbstractController
  7. {
  8. #[Route(path: '/', name: 'index')]
  9. public function index(): Response
  10. {
  11. return $this->render('index/index.html.twig', [
  12. 'controller_name' => 'IndexController',
  13. ]);
  14. }
  15. /**
  16. * @return Response
  17. */
  18. #[Route(path: '/password/change', name: 'password-change')]
  19. public function resetPassword(): Response
  20. {
  21. return $this->render('index/index.html.twig', [
  22. 'controller_name' => 'IndexController',
  23. ]);
  24. }
  25. }