From c36fcec628a11f6f7aeb30e97cbef210a67e3a3a Mon Sep 17 00:00:00 2001
From: jcopp <jcopp@sportingnews.com>
Date: Wed, 4 Apr 2012 14:58:38 -0400
Subject: [PATCH] Copy routes.rb to config dir and update their format to work
 with newer versions of Rails/Redmine

---
 config/routes.rb | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 config/routes.rb

diff --git a/config/routes.rb b/config/routes.rb
new file mode 100644
index 0000000..1b2cd65
--- /dev/null
+++ b/config/routes.rb
@@ -0,0 +1,6 @@
+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 'projects/:project_id/issues/growth', :controller => 'graphs', :action => 'issue_growth'
+  map.connect 'issues/growth', :controller => 'graphs', :action => 'issue_growth'
+end