Extract method to include stat graphs JavaScript
We're going to use this method everywhere in the admin stats section.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<% content_for :head do %>
|
||||
<%= javascript_include_tag "stat_graphs", "data-turbolinks-track" => "reload" %>
|
||||
<% end %>
|
||||
<% include_stat_graphs_javascript %>
|
||||
|
||||
<%= back_link_to admin_stats_path %>
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<% content_for :head do %>
|
||||
<%= javascript_include_tag "stat_graphs", "data-turbolinks-track" => "reload" %>
|
||||
<% end %>
|
||||
<% include_stat_graphs_javascript %>
|
||||
|
||||
<div id="stats" class="stats">
|
||||
<div class="row">
|
||||
|
||||
Reference in New Issue
Block a user