aswi2020sebela-gitlab/website/src/Controller/HomeController.php @ a97f1ced
1 | c6708024 | vastja | <?php
|
---|---|---|---|
2 | |||
3 | namespace App\Controller; |
||
4 | |||
5 | use Symfony\Component\Routing\Annotation\Route; |
||
6 | use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; |
||
7 | |||
8 | class HomeController extends AbstractController { |
||
9 | /**
|
||
10 | * @Route("/", name="home")
|
||
11 | */
|
||
12 | public function index() { |
||
13 | return $this->render('index.html.twig'); |
||
14 | }
|
||
15 | }
|