Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Copy routes.rb to config dir and update their format to work with newer versions of Rails/Redmine #11

Merged
merged 3 commits into from

3 participants

Jérémie Augustin Brad Beattie jobicoppola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 0 deletions.
  1. +11 −0 config/routes.rb
11 config/routes.rb
View
@@ -0,0 +1,11 @@
+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'
+ 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
Something went wrong with that request. Please try again.