summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-13 20:00:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-13 20:00:22 +0000
commita32822477170bf57a482365b8c6c47bd617147e3 (patch)
tree1efcf22510a985f3f0afb607610a45f7e7b79e33 /config
parent37aa016740399f2adffe43a509571b13e9025b9b (diff)
downloadredmine-a32822477170bf57a482365b8c6c47bd617147e3.tar.gz
redmine-a32822477170bf57a482365b8c6c47bd617147e3.zip
Removed IssuesController#update_form action, use #new and #edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 4b9cc77aa..a32ec76ef 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -112,8 +112,8 @@ Rails.application.routes.draw do
get 'issues/:copy_from/copy', :to => 'issues#new', :as => 'copy_issue'
resources :issues, :only => [:index, :new, :create]
- # issue form update
- match 'issues/update_form', :controller => 'issues', :action => 'update_form', :via => [:put, :patch, :post], :as => 'issue_form'
+ # Used when updating the form of a new issue
+ post 'issues/new', :to => 'issues#new'
resources :files, :only => [:index, :new, :create]
@@ -168,6 +168,10 @@ Rails.application.routes.draw do
end
resources :issues do
+ member do
+ # Used when updating the form of an existing issue
+ patch 'edit', :to => 'issues#edit'
+ end
collection do
match 'bulk_edit', :via => [:get, :post]
post 'bulk_update'