-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Closed
Copy link
Labels
DXDX = Developer eXperience (anything that improves the experience of using Symfony)DX = Developer eXperience (anything that improves the experience of using Symfony)Templating
Description
When a template could not be found, the message currently only shows the locator that couldn't be located:
Unable to find template "default/index.html.twig".
It would be much nicier if it shows you where it did search for this locator, so people know where to put their files. E.g:
Unable to find template "default/index.html.twig" (tried: "app/Resources/default/index.html.twig")
Unable to find template "AcmeDemoBundle::index.html.twig" (tried: "app/Resources/AcmeDemoBundle/views/index.html.twig", "src/OverridenDemoBundle/Resources/views/index.html.twig", "vendor/acme/demo-bundle/Resources/views/index.html.twig")
Metadata
Metadata
Assignees
Labels
DXDX = Developer eXperience (anything that improves the experience of using Symfony)DX = Developer eXperience (anything that improves the experience of using Symfony)Templating