]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Show blocked api response when commenting notes
[rails.git] / config / routes.rb
index 110a67a4984a80b7f17182f92432b01f7d1a7e65..a38f8450ff052517e12238b8fb2e9a581f344d5d 100644 (file)
@@ -321,6 +321,7 @@ OpenStreetMap::Application.routes.draw do
   get "/blocks/new/:display_name" => "user_blocks#new", :as => "new_user_block"
   resources :user_blocks
   match "/blocks/:id/revoke" => "user_blocks#revoke", :via => [:get, :post], :as => "revoke_user_block"
+  match "/user/:display_name/blocks/revoke_all" => "user_blocks#revoke_all", :via => [:get, :post], :as => "revoke_all_user_blocks"
 
   # issues and reports
   resources :issues do