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

[5.4] Stop using asset helper function inside mix helper function #20197

Merged
merged 1 commit into from
Jul 20, 2017
Merged

[5.4] Stop using asset helper function inside mix helper function #20197

merged 1 commit into from
Jul 20, 2017

Conversation

themsaid
Copy link
Member

No description provided.

@taylorotwell taylorotwell merged commit a61a234 into laravel:5.4 Jul 20, 2017
@it-can
Copy link
Contributor

it-can commented Jul 20, 2017

Thanks

@bradleybensmith
Copy link

@themsaid Can I ask why this change was made? This is a breaking change, if you serve your app from a sub-folder. Will have to use {{ asset(mix(...)) }} now.

@dwightwatson
Copy link
Contributor

The breaking change was actually introduced in #19968, this reverts back to how it was working beforehand. You can see my comment in that thread about a use-case where assets aren't served from the same domain as the app. For most people serving assets from their root-level domain application it's not going to matter, but it gives people with slightly different requirements (yourself included) a little more flexibility.

@bradleybensmith
Copy link

Ah, I see. Thanks @dwightwatson

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants