From 933ccee63ef88579c4961d7be56d46fb6d40fd9c Mon Sep 17 00:00:00 2001 From: jcopp Date: Thu, 5 Apr 2012 02:50:38 -0400 Subject: [PATCH] Add missing routes that were causing templates to throw errors --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 1b2cd65..0f9de44 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,8 @@ ActionController::Routing::Routes.draw do |map| map.connect 'projects/:project_id/issues/old', :controller => 'graphs', :action => 'old_issues' map.connect 'issues/old', :controller => 'graphs', :action => 'old_issues' + map.connect ':project_id/issue_age_graph', :controller => 'graphs', :action => 'issue_age_graph' 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' end