-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Namespaced template names don't work when twig and php are selected as templating engine #8892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've updated the title. It may be a known issue, but for me it was not clear that having php enabled as templating engine caused the issue. |
It is not a route path, it is a template name. |
Oops! Fixed it. |
Unless this is easy to fix it, I think we should close it as won't fix. It's an edge case probably used by few people and it's now documented here: symfony/symfony-docs#4220 |
@javiereguiluz I agree with you. |
Actually, I think it might be an easy fix |
I have this set in my config.yml:
When I try this in my controller:
... I get the following error:
Removing 'php' from the engines solves the problem and using the old template name style ('ToolsBundle:Tools:index.html.twig') also solves it.
The text was updated successfully, but these errors were encountered: