X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..49050467cc2fec02cabd68883a297815547e59a2:/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