src/Controller/Support/SupportController.php line 14

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