Code example:
/**
* @Route("/some/info", name="route_name", defaults={"_format"="json"})
* @Method({"GET"})
*
* @Template()
*/
public function someAction()
{
...
}
In this case, the @Template annotation isn't clickable, because it expects a .html.twig file, instead of the .json.twig that I'm using.
Can we fix this, please?
Code example:
In this case, the
@Templateannotation isn't clickable, because it expects a.html.twigfile, instead of the.json.twigthat I'm using.Can we fix this, please?