@@ -77,13 +77,13 RedmineApp::Application.routes.draw do | |||||
77 | match 'users/:id/memberships/:membership_id', :to => 'users#destroy_membership', :via => :delete |
|
77 | match 'users/:id/memberships/:membership_id', :to => 'users#destroy_membership', :via => :delete | |
78 | match 'users/:id/memberships', :to => 'users#edit_membership', :via => :post, :as => 'user_memberships' |
|
78 | match 'users/:id/memberships', :to => 'users#edit_membership', :via => :post, :as => 'user_memberships' | |
79 |
|
79 | |||
80 |
|
|
80 | get 'watchers/new', :to => 'watchers#new' | |
81 |
|
|
81 | post 'watchers', :to => 'watchers#create' | |
82 |
|
|
82 | post 'watchers/append', :to => 'watchers#append' | |
83 |
|
|
83 | post 'watchers/destroy', :to => 'watchers#destroy' | |
84 |
|
|
84 | post 'watchers/watch', :to => 'watchers#watch' | |
85 |
|
|
85 | post 'watchers/unwatch', :to => 'watchers#unwatch' | |
86 |
|
|
86 | get 'watchers/autocomplete_for_user', :to => 'watchers#autocomplete_for_user' | |
87 | # Specific routes for issue watchers API |
|
87 | # Specific routes for issue watchers API | |
88 | post 'issues/:object_id/watchers', :to => 'watchers#create', :object_type => 'issue' |
|
88 | post 'issues/:object_id/watchers', :to => 'watchers#create', :object_type => 'issue' | |
89 | delete 'issues/:object_id/watchers/:user_id' => 'watchers#destroy', :object_type => 'issue' |
|
89 | delete 'issues/:object_id/watchers/:user_id' => 'watchers#destroy', :object_type => 'issue' |
General Comments 0
You need to be logged in to leave comments.
Login now