bundles/Bgt/WebBundle/Controller/DefaultController.php line 13

Open in your IDE?
  1. <?php
  2. namespace Bgt\WebBundle\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. #[Route('/')]
  7. class DefaultController extends AbstractController
  8. {
  9.     #[Route('/'name'web_default_index')]
  10.     public function index(): Response
  11.     {
  12.         return $this->redirectToRoute('app_default_index');
  13.     }
  14. }