src/Controller/DocsController.php line 18

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Controller;
  4. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  5. use Symfony\Component\HttpFoundation\RedirectResponse;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. class DocsController extends AbstractController
  8. {
  9.     /**
  10.      * @Route("/")
  11.      *
  12.      * @return RedirectResponse
  13.      */
  14.     public function docsAction(): RedirectResponse
  15.     {
  16.         return $this->redirectToRoute('hb_swagger_ui_default');
  17.     }
  18. }