diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-04 17:44:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-04 17:44:41 +0000 |
commit | daa426167f2ce2cb9e044d340ed4ba42cfe599f6 (patch) | |
tree | 71ddd887c78b95ca4928f404e9290ed6c6502160 /config | |
parent | 79f25c08f8ce46ea19c1b172ffa0a56fab3c92f7 (diff) | |
download | redmine-daa426167f2ce2cb9e044d340ed4ba42cfe599f6.tar.gz redmine-daa426167f2ce2cb9e044d340ed4ba42cfe599f6.zip |
Adds support for GET on /issues/:issue_id/relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6179 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 7bb6b0b53..059ba1925 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -110,7 +110,7 @@ ActionController::Routing::Routes.draw do |map| map.resources :issues, :member => { :edit => :post }, :collection => {} do |issues| issues.resources :time_entries, :controller => 'timelog' - issues.resources :relations, :controller => 'issue_relations', :only => [:show, :create, :destroy] + issues.resources :relations, :controller => 'issue_relations', :only => [:index, :show, :create, :destroy] end map.resources :issues, :path_prefix => '/projects/:project_id', :collection => { :create => :post } do |issues| |