diff options
author | Go MAEDA <maeda@farend.jp> | 2019-06-16 09:34:49 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-06-16 09:34:49 +0000 |
commit | 9cdd8bf039c78017ff80283ef76c2f45783ec987 (patch) | |
tree | ea157e585970ed801b7340fd4e8432c9912c6c76 /config | |
parent | d16e36028fa635d736b8fc04b53408aab766d9eb (diff) | |
download | redmine-9cdd8bf039c78017ff80283ef76c2f45783ec987.tar.gz redmine-9cdd8bf039c78017ff80283ef76c2f45783ec987.zip |
Enables API access to /my/account for updating user account data (#31399).
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@18257 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 5ac2575c3..c6d172ee4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -72,7 +72,7 @@ Rails.application.routes.draw do match '/imports/:id/mapping', :to => 'imports#mapping', :via => [:get, :post], :as => 'import_mapping' match '/imports/:id/run', :to => 'imports#run', :via => [:get, :post], :as => 'import_run' - match 'my/account', :controller => 'my', :action => 'account', :via => [:get, :post] + match 'my/account', :controller => 'my', :action => 'account', :via => [:get, :put] match 'my/account/destroy', :controller => 'my', :action => 'destroy', :via => [:get, :post] match 'my/page', :controller => 'my', :action => 'page', :via => :get post 'my/page', :to => 'my#update_page' |