diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-20 20:43:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-20 20:43:28 +0000 |
commit | aca31973c28110047efd30537d5266b4c8987080 (patch) | |
tree | a107a050b2678f9dec581658c21807806406f50f /config/routes.rb | |
parent | f8c649320f849dec288407a771d446108dc40931 (diff) | |
download | redmine-aca31973c28110047efd30537d5266b4c8987080.tar.gz redmine-aca31973c28110047efd30537d5266b4c8987080.zip |
Fixed that delete watcher link was broken by r11290 (#13231).
Deleting a watcher now use DELETE /watchers instead of POST /watchers/destroy.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11443 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-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 b89973e55..7d0ff8573 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -82,7 +82,7 @@ RedmineApp::Application.routes.draw do get 'watchers/new', :to => 'watchers#new' post 'watchers', :to => 'watchers#create' post 'watchers/append', :to => 'watchers#append' - post 'watchers/destroy', :to => 'watchers#destroy' + delete 'watchers', :to => 'watchers#destroy' get 'watchers/autocomplete_for_user', :to => 'watchers#autocomplete_for_user' # Specific routes for issue watchers API post 'issues/:object_id/watchers', :to => 'watchers#create', :object_type => 'issue' |