Note we're naming it "chart" in order to avoid possible conflicts with the "graph" view when we move it to a component.
8 lines
249 B
Plaintext
8 lines
249 B
Plaintext
<% content_for :head do %>
|
|
<%= javascript_include_tag "stat_graphs", "data-turbolinks-track" => "reload" %>
|
|
<% end %>
|
|
|
|
<%= back_link_to admin_stats_path %>
|
|
|
|
<%= render Admin::Stats::ChartComponent.new(name: @name, event: @event, count: @count) %>
|