summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-12 20:43:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-12 20:43:51 +0000
commited5f487cf507988d573e815e8d5784fe17beff35 (patch)
tree9e1b4902d7c1133143305886a253d2fe471e8010 /config/routes.rb
parente13a763ab4d22d31b0935fe949dbcd32db5e1a26 (diff)
downloadredmine-ed5f487cf507988d573e815e8d5784fe17beff35.tar.gz
redmine-ed5f487cf507988d573e815e8d5784fe17beff35.zip
Fixed broken issue form update when changing tracker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8195 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8b40a4fc7..0834084f6 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -127,6 +127,9 @@ ActionController::Routing::Routes.draw do |map|
project.resources :issues, :only => [:index, :new, :create] do |issues|
issues.resources :time_entries, :controller => 'timelog', :collection => {:report => :get}
end
+ # issue form update
+ project.issue_form 'issues/new', :controller => 'issues', :action => 'new', :conditions => {:method => :post}
+
project.resources :files, :only => [:index, :new, :create]
project.resources :versions, :shallow => true, :collection => {:close_completed => :put}, :member => {:status_by => :post}
project.resources :news, :shallow => true