I am using routing by annotations and this is what my controller has:
/** * @Route("/", name="_index") * @Template() */
I understand routes but can someone explain what @Template() is doing there and how can I use it? I could not find any documentation about this.
Thanks…
More info here: http://symfony.com/doc/2.0/bundles/SensioFrameworkExtraBundle/annotations/view.html