Why when I navigate through the links on my page, everything does not load completely?
example :
I have a dropdown in my navbar, if I enter "/" yes I can open them but if I click on a link when the page loads, it is no longer possible, in the console I do not receive an error, I have to press "F5".
another example:
I have a sidebar with a background if I navigate through the links, the background disappears, it also doesn't send me an error, but I have to press F5 to get it back out.
In this image I go directly to http://localhost:3000/panel
In this other one I clicked on the account link and the background disappears, I have to press F5
and that's for everything, I have the tinymce editor and also if I write the url directly it loads me, if I enter through a link on the page it doesn't load and sends this error:
I think it may be related to Turbolinks (JavaScript).
If you're using Turbolinks, for JavaScript to 'properly' work, you can have:
Instead of: