app/views/prosperity/metrics/show.html.erb in prosperity-0.0.8 vs app/views/prosperity/metrics/show.html.erb in prosperity-0.0.9
- old
+ new
@@ -1,9 +1,9 @@
<h1>
<%= @metric.title %>
</h1>
-<div class="metric" data-url="<%= metric_path(params) %>"></div>
+<%= render_graph @metric, start_time: start_time %>
<%= form_tag(metric_path(params[:id]), method: 'get') do %>
<h2>Settings</h2>
<div class='well'>
<h3>Option</h3>