diff --git a/app/controllers/graphs_controller.rb b/app/controllers/graphs_controller.rb index d146d80..e826a4a 100644 --- a/app/controllers/graphs_controller.rb +++ b/app/controllers/graphs_controller.rb @@ -10,7 +10,7 @@ class GraphsController < ApplicationController helper IssuesHelper - def issue_status_flow_graph + def recent_status_changes_graph # Get the top visible projects by issue count sql = " select is1.id as old_status, is2.id as new_status, count(*) as changes_count" sql << " from journals as j" diff --git a/app/views/graphs/issue_status_flow_graph.html.erb b/app/views/graphs/recent_status_changes_graph.html.erb similarity index 100% rename from app/views/graphs/issue_status_flow_graph.html.erb rename to app/views/graphs/recent_status_changes_graph.html.erb diff --git a/app/views/my/blocks/_issue_status_flow.html.erb b/app/views/my/blocks/_recent_status_changes_graph.html.erb similarity index 83% rename from app/views/my/blocks/_issue_status_flow.html.erb rename to app/views/my/blocks/_recent_status_changes_graph.html.erb index 95a85cc..813bdb7 100644 --- a/app/views/my/blocks/_issue_status_flow.html.erb +++ b/app/views/my/blocks/_recent_status_changes_graph.html.erb @@ -1,5 +1,5 @@

<%= l(:label_graphs_issue_status_flow) %>

-<%= tag("embed", :width => "300", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'issue_status_flow_graph')) %> +<%= tag("embed", :width => "300", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'recent_status_changes_graph')) %>
\ No newline at end of file