]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Controllers + a few tests + new notification added. Work pending on the notification...
[rails.git] / config / routes.rb
index 085d67417570dc2564c065fe0c5a6bd783ac3a5d..a1d73985dd1d0bbb5fc4a30f41753db80d8c3d10 100644 (file)
@@ -288,6 +288,16 @@ 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
+
   # redactions
   resources :redactions
 end