src/Controller/startpage/StartpageController.php line 13

  1. <?php
  2. namespace App\Controller\startpage;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
  7. class StartpageController extends AbstractController
  8. {
  9.     #[Route('/'name'app_startpage')]
  10.     public function index(AuthenticationUtils $authenticationUtils): Response    {
  11.         return $this->redirectToRoute('app_login');
  12.     }
  13. }