Open larsalbrecht opened 8 years ago
I have a Controller (Service) and want to render the result of an action in a template.
I use annotations to route. Simple example:
/** * @route("test") */
No I can call the action from twig with:
{{ render('/en/test') }}
If I now use "_test" as route, to disable the prefix for this, it does not work. As "workaround" I use the options to disable i18n:
/** * @route("test", options={"i18n"=false}) */
Not, it works. I think, its a bug, isnt it?
I have a Controller (Service) and want to render the result of an action in a template.
I use annotations to route. Simple example:
No I can call the action from twig with:
If I now use "_test" as route, to disable the prefix for this, it does not work. As "workaround" I use the options to disable i18n:
Not, it works. I think, its a bug, isnt it?