src/Controller/FrontController.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use App\Form\ContactType;
  4. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  5. use Symfony\Component\HttpFoundation\Request;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. class FrontController extends AbstractController
  8. {
  9.     /**
  10.      * @Route("/", name="front_landing")
  11.      */
  12.     public function landing(Request $request)
  13.     {
  14.         return $this->render('front/landing.html.twig', array(
  15.         ));
  16.     }
  17.     /**
  18.      * @Route("/notre-histoire", name="front_story")
  19.      */
  20.     public function ourStory(Request $request)
  21.     {
  22.         return $this->render('front/ourStory.html.twig', array(
  23.         ));
  24.     }
  25. }