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

[FrameworkBundle] enable assets when templates are enabled #17506

Closed
wants to merge 1 commit into from

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jan 23, 2016

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #16570
License MIT
Doc PR

This puts back the default behavior of Symfony 2.8 where the Asset
component features were implicitly configured with sensible default
values when no explicit configuration was present but the templating
section was enabled.

This puts back the default behavior of Symfony 2.8 where the Asset
component features were implicitly configured with sensible default
values when no explicit configuration was present but the templating
section was enabled.
@xabbuh
Copy link
Member Author

xabbuh commented Jan 23, 2016

Note, this must be merged into the 3.0 branch (I forgot to switch the target branch).

@linaori
Copy link
Contributor

linaori commented Jan 23, 2016

Would this require enabled: false to turn it off if I don't want to use it?

@fabpot
Copy link
Member

fabpot commented Jan 25, 2016

Thank you @xabbuh.

fabpot added a commit that referenced this pull request Jan 25, 2016
… (xabbuh)

This PR was submitted for the master branch but it was merged into the 3.0 branch instead (closes #17506).

Discussion
----------

[FrameworkBundle] enable assets when templates are enabled

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #16570
| License       | MIT
| Doc PR        |

This puts back the default behavior of Symfony 2.8 where the Asset
component features were implicitly configured with sensible default
values when no explicit configuration was present but the templating
section was enabled.

Commits
-------

d0de425 enable assets when templates are enabled
@fabpot fabpot closed this Jan 25, 2016
@xabbuh xabbuh deleted the issue-16570 branch January 25, 2016 08:19
xabbuh added a commit to xabbuh/symfony that referenced this pull request Feb 2, 2016
Now that the `assets` section is automatically enabled when `templating`
is enabled (see symfony#17506), the `templating.helper.assets` will also be
present as soon as the `templating` section is activated.
xabbuh added a commit to xabbuh/symfony that referenced this pull request Feb 3, 2016
Now that the `assets` section is automatically enabled when `templating`
is enabled (see symfony#17506), the `templating.helper.assets` will also be
present as soon as the `templating` section is activated.
fabpot added a commit that referenced this pull request Feb 3, 2016
This PR was merged into the 3.0 branch.

Discussion
----------

[FrameworkBundle] fix assets and templating tests

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #17506
| License       | MIT
| Doc PR        |

Now that the `assets` section is automatically enabled when `templating`
is enabled (see #17506), the `templating.helper.assets` will also be
present as soon as the `templating` section is activated.

Commits
-------

293df5d [FrameworkBundle] fix assets and templating tests
@fabpot fabpot mentioned this pull request Feb 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants