src/Controller/NonCustomerController.php line 23

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 NonCustomerController extends AbstractController
  7. {
  8.     /**
  9.      * @Route("/signIn", name="signIn")
  10.      */
  11.     public function signIn(): Response
  12.     {        
  13.         // return $this->render('nonCustomer/signIn/index.html.twig');
  14.         return $this->render('security/signin.html.twig');
  15.     }
  16.     /**
  17.      * @Route("/forgotPassword", name="forgotPassword")
  18.      */
  19.     public function forgotPassword(): Response
  20.     {        
  21.         // return $this->render('nonCustomer/signIn/index.html.twig');
  22.         return $this->render('security/forgot_password.html.twig');
  23.     }
  24.     /**
  25.      * @Route("/nonCustomer", name="app_nonCustomer")
  26.      */
  27.     public function index(): Response
  28.     {        
  29.         $pageSubtitle 'dashboard';
  30.         return $this->render('nonCustomer/firme_up/home.html.twig', [
  31.             'pageSubtitle' => $pageSubtitle,
  32.             'gammeCA' => [], 
  33.             'zonesExp' => [], 
  34.         ]);
  35.     }
  36. }