Turbo
Turbo copied to clipboard
Add response header so PJAX push state works properly
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.