Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Replace overriding twig.paths by twig.default_path#14135

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
wouterj merged 1 commit intosymfony:3.4froml-vo:patch-12
Oct 22, 2020

Conversation

@l-vo
Copy link
Contributor

Sincetwig.default_path has been introduced (3.4), it should be a better idea to override it instead oftwig.paths for customizing the directory structure (default path is added to paths anyway).

@wouterj
Copy link
Member

Thank you, Laurent! The difference between default_path and paths is a bit confusing, which is why it took a bit longer to merge this one. But I agree that this article isthe use-case of modifying the default path instead of paths. Thanks again!

l-vo reacted with thumbs up emoji

@wouterjwouterj merged commit29e448a intosymfony:3.4Oct 22, 2020
@l-vol-vo deleted the patch-12 branchOctober 22, 2020 11:36
wouterj added a commit that referenced this pull requestOct 22, 2020
This PR was merged into the 4.4 branch.Discussion----------Some fixes in structure overriding page* Use `default_path` instead of `paths` to change translation directory (default_path is anyway added to paths)* Replace `var` by `vendor` in the public directory section (I think it's a typo, I don't see why `var` would be involved when public dir is customized)In the same way, a#14135 targets 3.4 to use `default_path` instead of `paths` for templates.Commits-------b65212f Some fixes in structure overriding:
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@ycerutoycerutoyceruto approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@l-vo@wouterj@yceruto@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp