Fixed double scoping of cost reports routes

pull/6827/head
Sebastian Schuster 12 years ago
parent 59787d1818
commit 501415d948
  1. 4
      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', :controller => 'cost_reports', :project_id => /.+/, :action => 'index'
match 'projects/:project_id/cost_reports/:action/:id', :controller => 'cost_reports', :project_id => /.+/
end
end

Loading…
Cancel
Save