aswi2020sebela-gitlab/website/src/Controller/HomeController.php @ 667990c0
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 | 70a3df53 | vastja | * Home page controller.
|
11 | *
|
||
12 | c6708024 | vastja | * @Route("/", name="home")
|
13 | */
|
||
14 | public function index() { |
||
15 | return $this->render('index.html.twig'); |
||
16 | }
|
||
17 | }
|