Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 28, 2023. It is now read-only.

Use Twig namespace instead of old colon-separated syntax#7

Merged
ghidosoft merged 1 commit into
looptribe:masterfrom
dailyinfo:master
Apr 19, 2018
Merged

Use Twig namespace instead of old colon-separated syntax#7
ghidosoft merged 1 commit into
looptribe:masterfrom
dailyinfo:master

Conversation

@danabrey
Copy link
Copy Markdown
Contributor

The old-style colon-separated syntax is only supported in Symfony 4 if the symfony/templating component is installed. Moreover, overriding templates doesn't work if they're defined using this syntax.

Switching to Twig namespace (automatically created for bundles since SF2.7) fixes both of these issues.

@ghidosoft ghidosoft merged commit c06bfd3 into looptribe:master Apr 19, 2018
@ghidosoft
Copy link
Copy Markdown
Contributor

Hi @danabrey, thank you for your PR!

@danabrey
Copy link
Copy Markdown
Contributor Author

No problem @ghidosoft, this bundle saved us a good few hours today! I've created a Flex recipe for the bundle and submitted a pull request here: symfony/recipes-contrib#352

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants