removes duplicate routes for issue /issues/:issue_id/time_entries

pull/1186/head
Jens Ulferts 12 years ago
parent ac693a4d2e
commit 9b599b63fa
  1. 4
      config/routes.rb

@ -171,10 +171,6 @@ OpenProject::Application.routes.draw do
post :edit, :on => :member post :edit, :on => :member
end end
resources :issues, :path_prefix => '/projects/:project_id', :collection => { :create => :post, :all => :get } do
resources :time_entries, :controller => 'timelog'
end
scope :controller => 'issue_relations', :via => :post do scope :controller => 'issue_relations', :via => :post do
match '/issues/:issue_id/relations/:id', :action => :new match '/issues/:issue_id/relations/:id', :action => :new
match '/issues/:issue_id/relations/:id/destroy', :action => :destroy match '/issues/:issue_id/relations/:id/destroy', :action => :destroy

Loading…
Cancel
Save