diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-01 12:46:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-01 12:46:29 +0000 |
commit | a2bcc9c40eb99b901f2f92b2f4fa1f840583c6b8 (patch) | |
tree | d49d79b7112da8fb8872fedceac4b6261da9a7d2 /config/routes.rb | |
parent | 973c9484b091e7554f8cd78fdb3f640aa364f7ce (diff) | |
download | redmine-a2bcc9c40eb99b901f2f92b2f4fa1f840583c6b8.tar.gz redmine-a2bcc9c40eb99b901f2f92b2f4fa1f840583c6b8.zip |
Rename AttachmentsController#edit and #update to #edit_all and #update_all (#22356).
git-svn-id: http://svn.redmine.org/redmine/trunk@15860 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index b8e465a63..7fe0ae95c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -294,8 +294,8 @@ Rails.application.routes.draw do get 'attachments/download/:id', :to => 'attachments#download', :id => /\d+/ get 'attachments/thumbnail/:id(/:size)', :to => 'attachments#thumbnail', :id => /\d+/, :size => /\d+/, :as => 'thumbnail' resources :attachments, :only => [:show, :destroy] - get 'attachments/:object_type/:object_id/edit', :to => 'attachments#edit', :as => :object_attachments_edit - patch 'attachments/:object_type/:object_id', :to => 'attachments#update', :as => :object_attachments + get 'attachments/:object_type/:object_id/edit', :to => 'attachments#edit_all', :as => :object_attachments_edit + patch 'attachments/:object_type/:object_id', :to => 'attachments#update_all', :as => :object_attachments resources :groups do resources :memberships, :controller => 'principal_memberships' |