rails/turbolinks — pull request #372 by jjoos (2014-05-02 08:53:14+00:00)
Title: Added rememberCurrentState and cacheCurrentPage to the Public API

We needed some custom behaviour in our application, we want to cache dynamic pages (backbone/marionette).

We always call these two methods `rememberCurrentState` and `cacheCurrentPage` together, so creating one method that does both would also work for us.

If we completely missed a better way of doing this, please let us know!