]>
Commit | Line | Data |
---|---|---|
93fd4692 NL |
1 | <?php |
2 | ||
3 | namespace Acme\DemoBundle\Controller; | |
4 | ||
5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
6 | ||
7 | class WelcomeController extends Controller | |
8 | { | |
9 | public function indexAction() | |
10 | { | |
11 | /* | |
12 | * The action's view can be rendered using render() method | |
13 | * or @Template annotation as demonstrated in DemoController. | |
14 | * | |
15 | */ | |
16 | ||
17 | return $this->render('AcmeDemoBundle:Welcome:index.html.twig'); | |
18 | } | |
19 | } |