2018-09-05 09:11:08 +02:00
|
|
|
<?php
|
|
|
|
namespace App\Controller;
|
|
|
|
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author kevinfrantz
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class DefaultController extends AbstractController implements DefaultControllerInterface
|
|
|
|
{
|
2018-09-05 18:11:35 +02:00
|
|
|
/**
|
|
|
|
* @Route("/imprint", name="imprint")
|
|
|
|
*/
|
2018-09-05 09:11:08 +02:00
|
|
|
public function imprint(): Response
|
|
|
|
{
|
2018-09-05 18:19:34 +02:00
|
|
|
return $this->render("standard/imprint.html.twig",['menu_items'=>[]]);
|
2018-09-05 09:11:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @Route("/", name="homepage")
|
|
|
|
*/
|
|
|
|
public function homepage(): Response
|
|
|
|
{
|
2018-09-05 11:37:35 +02:00
|
|
|
return $this->render("standard/homepage.html.twig",['menu_items'=>[]]);
|
2018-09-05 09:11:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|