From 3a5f4389c7a6006384784d46bc497eae75acfda9 Mon Sep 17 00:00:00 2001 From: jaugustin Date: Mon, 21 May 2012 17:02:17 +0200 Subject: [PATCH] fix routes.rb, add route for my page graph and roadmap graph --- config/routes.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 0f9de44..45d7cf5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,4 +5,7 @@ ActionController::Routing::Routes.draw do |map| map.connect 'projects/:project_id/issues/growth', :controller => 'graphs', :action => 'issue_growth' map.connect 'issues/growth', :controller => 'graphs', :action => 'issue_growth' map.connect ':project_id/issue_growth_graph', :controller => 'graphs', :action => 'issue_growth_graph' + map.connect 'graphs/recent-status-changes', :controller=>"graphs", :action=>"recent_status_changes_graph" + map.connect 'graphs/recent-assigned-to-changes', :controller=>"graphs", :action=>"recent_assigned_to_changes_graph" + map.connect 'graphs/target-version/:id', :controller=>"graphs", :action=>"target_version_graph" end