I'm stumped here, and wondering if anybody can help point me in the correct direction. For that matter, I'm wondering if anybody has ever bumped into this?
When I enter my url in manually the map loads just fine(
http://localhost:3000/page/map), but when I create a link in rails the map does load
<%= link_to "Map", page_map_path %> or eve
<%= link_to "Map", "http://localhost:3000/page/map" %> the page loads, but doesn't show the map until I manually do a refresh.
Here's a link to the repo on bitbucket.
From my testing this happens if I use a gem (either ver 1.0, or 0.7), or load leaflet directly.