Skip to content
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

Update Template Path notation: FooBundle:B:C.html.twig -> @Foo/B/C.html.twig #7003

Closed
weaverryan opened this issue Sep 22, 2016 · 0 comments
Closed
Labels
hasPR A Pull Request has already been submitted for this issue.

Comments

@weaverryan
Copy link
Member

Where we still refer to a template inside a bundle, we need to update to use the @Foo/B/C.html.twig template. This syntax has always worked, though I think it might only work for Twig (if that's true, we should keep the old syntax only for PHP templates).

Also see: symfony/symfony-standard#861 (comment)

@javiereguiluz javiereguiluz added the hasPR A Pull Request has already been submitted for this issue. label Jul 4, 2017
xabbuh added a commit that referenced this issue Jul 7, 2017
…guiluz)

This PR was merged into the 2.7 branch.

Discussion
----------

Use the Twig namespaced syntax for all templates

This fixes #7003.

Commits
-------

858dd81 Use the Twig namespaced syntax for all templates
@xabbuh xabbuh closed this as completed Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hasPR A Pull Request has already been submitted for this issue.
Projects
None yet
Development

No branches or pull requests

3 participants