src/Controller/Web/DefaultController.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Controller\Web;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. class DefaultController extends AbstractController
  7. {
  8.     /**
  9.      * @Route("/", name="app_web_default")
  10.      */
  11.     public function index(): Response
  12.     {
  13.         //return $this->render('app/default/comingSoon.html.twig');
  14.         return $this->render('web/default/index.html.twig');
  15.     }
  16.     /**
  17.      * @Route("/privacy-policy", name="privacy_policy")
  18.      */
  19.     public function privacyPolicy(){
  20.         return $this->render('web/default/privacyPolicy.html.twig', ['privacyPolicy' => true]);
  21.     }
  22. }