initial commit

This commit is contained in:
tracer 2022-04-15 17:54:09 +02:00
parent e3ff36f2ba
commit 76c1e4e8cd
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
/**
*
*/
class PagesController extends AbstractController
{
#[Route(path: '/imprint', name: 'app_imprint')]
public function imprint(): Response
{
return $this->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',
]);
}
}