X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/63dbfc15a6bc4b1ae55c82e20955be6d30e814c3..cf639202b802be9ce1a6f3f65e7d4f6292a2ad3a:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 085d67417..468b99327 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -288,6 +288,18 @@ OpenStreetMap::Application.routes.draw do resources :user_blocks match "/blocks/:id/revoke" => "user_blocks#revoke", :via => [:get, :post], :as => "revoke_user_block" + # issues and reports + resources :issues do + member do + post "resolve" + post "assign" + post "ignore" + post "reopen" + end + end + + post '/comment' => 'issues#comment' + # redactions resources :redactions end