Skip to content

Overwrite templates in Resources folder seems not to work #72

@ElectricMaxxx

Description

@ElectricMaxxx

Tried to debug the error in symfony-cmf/seo-bundle#177 There want to implement a test where i needet to overwrite the TwigBundle:Exception:exception_full.html.twig in a test. So i created a copy in Tests/Resources/app/Resources/TwigBundle/views/Exception/exception.html.twig which seems to be the right folder. But not for the Symfony cache of the test application. While debugging, i saw that the application tries to render the orignal template in the TwigBundle.

Any ideas for the place to put the templates? Or does the test application does not add my template?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions