From 76c1e4e8cd8de9e7a32127644165539769b568f6 Mon Sep 17 00:00:00 2001 From: tracer Date: Fri, 15 Apr 2022 17:54:09 +0200 Subject: [PATCH] initial commit --- src/Controller/PagesController.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/Controller/PagesController.php diff --git a/src/Controller/PagesController.php b/src/Controller/PagesController.php new file mode 100644 index 0000000..a9f047a --- /dev/null +++ b/src/Controller/PagesController.php @@ -0,0 +1,29 @@ +render(view: 'pages/imprint.html.twig', parameters: [ + 'controller_name' => 'PagesController', + ]); + } + + #[Route(path: '/privacy', name: 'app_privacy')] + public function privacy(): Response + { + return $this->render(view: 'pages/privacy.html.twig', parameters: [ + 'controller_name' => 'PagesController', + ]); + } +}