app/views/speedup_rails/collectors/_rubyprof.html.erb in speedup-rails-0.0.9 vs app/views/speedup_rails/collectors/_rubyprof.html.erb in speedup-rails-0.0.10
- old
+ new
@@ -1,3 +1,5 @@
<span class="speedup_rails_<%= key %>" data-key="<%= key %>">
- <%= link_to 'ruby-prof', rubyprof_result_path(@request_id) %>
+ <% data.each do |prof_id| %>
+ <%= link_to 'ruby-prof_'+prof_id.to_s, rubyprof_result_path(@request_id, prof_id: prof_id), target: '_blank' %>
+ <% end %>
</span>