rails/turbolinks — pull request #292 by ghiculescu (2013-10-23 04:35:23+00:00)
Title: reflect redirected URL before applying page contents

I've swapped the order of the calls to `changePage` and `reflectRedirectedUrl`. This was causing issues with scripts called during the `executeScriptTags` reading from `window.location.href` after a redirect. I've added a simple test case which demonstrates this.