We didn't upgrade Turbolinks when we upgraded to Rails 5 so we didn't upgrade too many things at the same time, and postponed it... until now :). Note upgrading Turbolinks fixes an issue with foundation's sticky when using the browser's back and forward buttons. We're adding tests for these scenarios. Co-authored-by: Senén Rodero Rodríguez <senenrodero@gmail.com>
6 lines
186 B
Plaintext
6 lines
186 B
Plaintext
<% content_for :head do %>
|
|
<%= javascript_include_tag "stat_graphs", "data-turbolinks-track" => "reload" %>
|
|
<% end %>
|
|
|
|
<%= render "graph", name: @name, event: @event, count: @count %>
|