<?php
declare(strict_types=1);
namespace Harmonizely\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Cache;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class DefaultController extends AbstractController
{
/**
* @Route("/", methods={"GET"}, name="home_index", host="%secure_host%")
* @Cache(smaxage="172800")
*/
public function index(): Response
{
return $this->redirectToRoute('dashboard_index');
}
}