]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Added a few more tests
[rails.git] / config / routes.rb
index 085d67417570dc2564c065fe0c5a6bd783ac3a5d..468b9932789b2f827b4e5eac8b9b5b7623c6767b 100644 (file)
@@ -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