diff --git a/config/routes.rb b/config/routes.rb index fb983c3711..dd25f33c3f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,4 @@ OpenProject::Application.routes.draw do - scope 'projects/:project_id' do - match 'projects/:project_id/cost_reports.:format', :controller => 'cost_reports', :project_id => /.+/, :action => 'index' - match 'projects/:project_id/cost_reports/:action/:id', :controller => 'cost_reports', :project_id => /.+/ - end + match 'projects/:project_id/cost_reports', :controller => 'cost_reports', :project_id => /.+/, :action => 'index' + match 'projects/:project_id/cost_reports/:action/:id', :controller => 'cost_reports', :project_id => /.+/ end