|
@@ -0,0 +1,26 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+namespace App\Controller;
|
|
|
+
|
|
|
+use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
|
+use Symfony\Component\HttpFoundation\Response;
|
|
|
+use Symfony\Component\Routing\Attribute\Route;
|
|
|
+
|
|
|
+final class ProfileController extends AbstractController
|
|
|
+{
|
|
|
+ #[Route('/profile', name: 'app_profile')]
|
|
|
+ public function index(): Response
|
|
|
+ {
|
|
|
+ return $this->render('profile/index.html.twig', [
|
|
|
+ 'controller_name' => 'ProfileController',
|
|
|
+ ]);
|
|
|
+ }
|
|
|
+
|
|
|
+ #[Route('/profile/reservation', name: 'app_profile_reservations')]
|
|
|
+ public function reservations(): Response
|
|
|
+ {
|
|
|
+ return $this->render('profile/index.html.twig', [
|
|
|
+ 'controller_name' => 'ProfileController'
|
|
|
+ ]);
|
|
|
+ }
|
|
|
+}
|