infinito/application/src/Controller/DefaultController.php

30 lines
619 B
PHP
Raw Normal View History

2018-09-05 09:11:08 +02:00
<?php
2018-09-12 22:25:22 +02:00
2018-09-05 09:11:08 +02:00
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Response;
/**
* @author kevinfrantz
*/
2018-09-13 00:06:21 +02:00
class DefaultController extends AbstractController
2018-09-05 09:11:08 +02:00
{
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-12 22:25:22 +02:00
return $this->render('standard/imprint.html.twig');
2018-09-05 09:11:08 +02:00
}
2018-09-12 22:25:22 +02:00
2018-09-05 09:11:08 +02:00
/**
* @Route("/", name="homepage")
*/
public function homepage(): Response
{
2018-09-12 22:25:22 +02:00
return $this->render('standard/homepage.html.twig');
2018-09-05 09:11:08 +02:00
}
}