src/Controller/StaticPagesController.php line 18

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. #[Route(host'seximately.com')]
  7. class StaticPagesController extends AbstractController
  8. {
  9.     #[Route("/terms-and-conditions"methods: ["GET"], name"terms_and_conditions")]
  10.     public function termsAndConditions(): Response
  11.     {
  12.         return $this->render('page/static/terms-and-conditions.html.twig');
  13.     }
  14.     #[Route("/legal-notice"methods: ["GET"], name"legal_notice")]
  15.     public function legalNotice(): Response
  16.     {
  17.         return $this->render('page/static/legal-notice.html.twig');
  18.     }
  19.     #[Route("/privacy-policy"methods: ["GET"], name"privacy_policy")]
  20.     public function privacyPolicy(): Response
  21.     {
  22.         return $this->render('page/static/privacy-policy.html.twig');
  23.     }
  24. }