<?php
namespace Fourtwosix\InterfaceBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class IndexController extends AbstractController
{
/**
* Returns a json with the checks results on the system
* @return JsonResponse
*/
#[Route('/', name: 'fourtwosix_interface_bundle.home')]
public function index(): Response
{
return $this->render("@FourtwosixInterface/index.html.twig");
}
}