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

directly call the UrlGenerator binding instead of using the helper #33

Merged
merged 1 commit into from
Mar 21, 2016

Conversation

beeglebug
Copy link
Contributor

Apparently only Laravel 5.2 returns the UrlGenerator from the url helper when you call it with no arguments, this bypasses the helper and fixes that.

It looks like Taylor is deemphasising Facades, so we should stick with the helpers or app bindings where possible, and if in the future we drop support for 5.1 this can be removed in favour of calling url()->full again.

Fixes #31 and #32.

@beeglebug
Copy link
Contributor Author

Note: I don't have time to test this on a 5.1 install at the moment, so someone should manually verify this before merging it in!

aacotroneo added a commit that referenced this pull request Mar 21, 2016
directly call the UrlGenerator binding instead of using the helper
@aacotroneo aacotroneo merged commit 4fa901a into aacotroneo:master Mar 21, 2016
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.

Helper function misusage on Saml2User.php
2 participants