Skip to content

Commit

Permalink
Merge pull request #11 from jaugustin/fix-routes
Browse files Browse the repository at this point in the history
Copy routes.rb to config dir and update their format to work with newer versions of Rails/Redmine
  • Loading branch information
bradbeattie committed May 21, 2012
2 parents b536b43 + 3a5f438 commit c44ff1d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c44ff1d

Please sign in to comment.