<?php
namespace App\Application\Controller;
use App\Admin\Document\Chain;
use App\Admin\Document\Hub;
use AvenueAdminBundle\Filter\MongoDB\StringFilter;
use AvenueAdminBundle\Util\FileUtil;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use \Symfony\Component\Routing\Annotation\Route;
class HomeController extends AbstractController
{
/**
* @Route("/", name="home")
*/
public function home(): Response
{
if (!$this->hasIdentity()) {
return $this->redirectToRoute('hubs');
}
return $this->render(
'application/home/index.html.twig', [
]
);
}
}