src/Controller/PageController.php line 13
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
class PageController extends AbstractController
{
#[Route(path: '/lake', name: 'app_home')]
public function login(AuthenticationUtils $authenticationUtils): Response
{
$platforms = $this->getUser()->getUserPlatforms();
return $this->render('pages/lake_home.html.twig', [
'platforms' => $platforms,
]);
}
}