diff options
author | Go MAEDA <maeda@farend.jp> | 2021-07-09 02:42:47 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-07-09 02:42:47 +0000 |
commit | 5fa84c0b4e0a04c9d212a0b2e2969cc72c4f7fe5 (patch) | |
tree | a019baecf5d304d9427fd65a1d8fb17166b8610c /config/routes.rb | |
parent | 9178bf733627a6808be72d98a7c47c6c2758c511 (diff) | |
download | redmine-5fa84c0b4e0a04c9d212a0b2e2969cc72c4f7fe5.tar.gz redmine-5fa84c0b4e0a04c9d212a0b2e2969cc72c4f7fe5.zip |
API to close/reopen projects (#35507).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21066 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 7e5e3eee9..1fd513d00 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -133,8 +133,8 @@ Rails.application.routes.draw do get 'settings(/:tab)', :action => 'settings', :as => 'settings' match 'archive', :via => [:post, :put] match 'unarchive', :via => [:post, :put] - post 'close' - post 'reopen' + match 'close', :via => [:post, :put] + match 'reopen', :via => [:post, :put] match 'copy', :via => [:get, :post] match 'bookmark', :via => [:delete, :post] end |