Well, as the title says more or less. I\'m using the gem Turbolinks in my Rails application and I\'m having a bit of a problem with the \"browser back\"-button. My javascrip
Two solutions for Turbolinks Classic:
Set the cache to 0 so that no pages are cached using HTML5 History.
Turbolinks.pagesCached(0);
Another solution is to listen to "page:restore" event and call your initialization method. This latter solution is more performant.
document.addEventListener("page:restore", function() {
app.init();
});