src/Controller/StaticContentController.php line 21

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 StaticContentController extends AbstractController
  7. {
  8.     #[Route('/support'name'app_support')]
  9.     public function index(): Response
  10.     {
  11.         return $this->render('support/index.html.twig', [
  12.             'controller_name' => 'StaticContentController',
  13.         ]);
  14.     }
  15.     #[Route('/support/faq'name'app_support_faq')]
  16.     public function faq(): Response
  17.     {
  18.         return $this->render('support/faq.html.twig', [
  19.             'controller_name' => 'StaticContentController',
  20.         ]);
  21.     }
  22. }