X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2357118c460e4a2d367e4a446a0f3e883d251415..c1cdddf11f363d24f7c18b3e9df15e1bde3c4302:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 47bedac08..c92926bd5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -290,6 +290,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