rails/turbolinks — pull request #331 by mattsjohnston (2014-01-21 19:34:45+00:00)
Title: Prevent updating document url to the same url

Currently when using pushState in an app, it's possible that turbolinks will update the document url to an identical url, which simply causes an unnecessary refresh of the current page.

This update checks to make sure it's not already set to the correct url before trying to update it.