-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[2.7][Asset] Backward-incompatible change in assets base_urls in Symfony >=2.7 #16447
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
Comments
@lividgreen Can you post the complete stack trace? |
this is because |
@lividgreen this config should do the trick: framework:
templating:
# ...
assets:
base_path: "/subdir"
# ... |
Thanks! Btw, reference documentation should be updated. |
This doesn't seem to be working for me:
The assets are indeed placed in the I'm currently using the latest Symfony version from the 2.7 branch. Update:
With the recent changes the code above should look like this:
|
We are using following config to place assetic results to a
web/subdir
.It works for Symfony 2.6 but broken for Symfony >=2.7 with error:
thrown during container initialization.
Is this a BC break or did we miss something?
The text was updated successfully, but these errors were encountered: