Skip to content

[5.3] Return JSON for unauthenticated AJAX requests #3817

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

Merged
merged 1 commit into from
Jun 22, 2016

Conversation

JosephSilber
Copy link
Contributor

No description provided.

@barryvdh
Copy link
Contributor

Perhaps add a 'not PJAX' call here also?

@taylorotwell taylorotwell merged commit 51addd6 into laravel:develop Jun 22, 2016
@taylorotwell
Copy link
Member

You can use the new probablyWantsJson method 😆

@JosephSilber JosephSilber deleted the unauthenticated-json branch June 22, 2016 13:43
@JosephSilber
Copy link
Contributor Author

For the record, the method has been renamed to expectsJson 👍

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.

4 participants