infinito/application/symfony/src/Controller/DefaultController.php

23 lines
460 B
PHP
Raw Normal View History

2018-09-05 09:11:08 +02:00
<?php
2018-09-12 23:25:22 +03:00
namespace Infinito\Controller;
2018-09-05 09:11:08 +02:00
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Response;
/**
* 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
}
}