8000 [Asset] ability to set assets_version_strategy as service by ewgRa · Pull Request #16522 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Asset] ability to set assets_version_strategy as service #16522

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

Closed
wants to merge 9 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix for same use assets and templating
  • Loading branch information
ewgRa committed Nov 11, 2015
commit be5eb0f0b7d6a120aee6f5d9f90bcf363545d50e
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ public function getConfigTreeBuilder()
->ifTrue(function ($v) { return !isset($v['assets']); })
->then(function ($v) {
if (!isset($v['templating'])
|| !$v['templating']['assets_version']
|| (!$v['templating']['assets_version']
&& !$v['templating']['assets_version_strategy'])
&& !count($v['templating']['assets_base_urls']['http'])
&& !count($v['templating']['assets_base_urls']['ssl'])
&& !count($v['templating']['packages'])
Expand Down
0