vendor/fourtwosix/interface-bundle/src/Controller/IndexController.php line 17

Open in your IDE?
  1. <?php
  2. namespace Fourtwosix\InterfaceBundle\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\JsonResponse;
  5. use Symfony\Component\HttpFoundation\Response;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. class IndexController extends AbstractController
  8. {
  9.     /**
  10.      * Returns a json with the checks results on the system
  11.      * @return JsonResponse
  12.      */
  13.     #[Route('/'name'fourtwosix_interface_bundle.home')]
  14.     public function index(): Response
  15.     {
  16.         return $this->render("@FourtwosixInterface/index.html.twig");
  17.     }
  18. }