diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 8956e3c94..54a5ddf17 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -139,9 +139,9 @@ ActionController::Routing::Routes.draw do |map| relations.connect 'issues/:issue_id/relations/:id/destroy', :action => 'destroy' end - map.with_options :controller => 'reports', :action => 'issue_report', :conditions => {:method => :get} do |reports| - reports.connect 'projects/:id/issues/report' - reports.connect 'projects/:id/issues/report/:detail' + map.with_options :controller => 'reports', :conditions => {:method => :get} do |reports| + reports.connect 'projects/:id/issues/report', :action => 'issue_report' + reports.connect 'projects/:id/issues/report/:detail', :action => 'issue_report_details' end map.with_options :controller => 'news' do |news_routes| |