Posted in Turbolinks 5 issue when clicking back
I'm upgrading my rails 4.2 app to use turbolinks 5 as per the gorails ep but I've ran into a problem.
I'm using zurb foundation framework with offcanvas menu when I open the menu and click a link and then click back the menu is still open and can't be closed!
With the previous version of turbolinks when clicking back the menu would still be open but the menu was still working and could be closed.
Posted in A series on Turbolinks 5
I would love to see a series on Turbolinks 5! I want to gain a good understanding of it so I can use it to its full potential so as suggested by Marek a series covering the basics, advanced topics and using the native android/ios adaptors would be awesome!
I've read through the documentation but am having no luck getting this going.
I've also posted on stackoverflow but no responses as of yet, so any help would be greatly appreciated.
Resolve the issue I was having. The reason it wasn't working for me was because in layouts/application.html.erb I had:
when it should be:
Now I just have to work out how to make this script idempotent.