<?php
namespace App\Controller;
use App\Entity\Document;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class DefaultController extends AbstractController
{
/**
* @Route("/", name="app_index")
* @return RedirectResponse|Response
*/
public function index()
{
return $this->redirectToRoute('app_user_redirect');
}
}