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
This commit is contained in:
1 parent
f8c649320f
commit
aca31973c2
5 files changed
+19
-6
No files matched your search
+1
-1
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user