Skip to content

Add response header so PJAX push state works properly#4

Open
ghost wants to merge 1 commit intorcrowe:masterfrom
astoltz:url_response
Open

Add response header so PJAX push state works properly#4
ghost wants to merge 1 commit intorcrowe:masterfrom
astoltz:url_response

Conversation

@ghost
Copy link

@ghost ghost commented Jul 25, 2014

PJAX can't detect the push state URL when redirects happen. With RESTful routing, redirects are common for form validation and success. We simply need to add a response header to say what URL is requested to inform PJAX where we are.

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.

1 participant