2018-09-05 09:11:08 +02:00
|
|
|
<?php
|
2018-09-12 23:25:22 +03:00
|
|
|
|
2019-02-17 14:33:19 +01:00
|
|
|
namespace Infinito\Controller;
|
2018-09-05 09:11:08 +02:00
|
|
|
|
|
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
|
|
|
|
|
|
/**
|
2019-01-01 00:16:43 +01:00
|
|
|
* This controller offers the standart routes for the template.
|
|
|
|
*
|
2018-09-05 09:11:08 +02:00
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
2019-01-05 21:26:36 +01:00
|
|
|
final class DefaultController extends AbstractController
|
2018-09-05 09:11:08 +02:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @Route("/", name="homepage")
|
|
|
|
*/
|
|
|
|
public function homepage(): Response
|
|
|
|
{
|
2018-09-12 23:25:22 +03:00
|
|
|
return $this->render('standard/homepage.html.twig');
|
2018-09-05 09:11:08 +02:00
|
|
|
}
|
|
|
|
}
|