use username

This commit is contained in:
jannisp 2021-04-23 15:06:41 +02:00
parent 5a32d90adc
commit d74c283830
6 changed files with 58 additions and 8 deletions

View file

@ -15,4 +15,12 @@ class AppController extends AbstractController
'controller_name' => 'AppController',
]);
}
#[Route('/user', name: 'user_page')]
public function user(): Response
{
return $this->render('app/index.html.twig', [
'user' => $this->getUser(),
]);
}
}