X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/10d65cc8571d38bb6af6d9022edb98a294ad2f2d..0b05f4701672d7107cb45d9fb4de13819f7df863:/config/routes.rb?ds=sidebyside diff --git a/config/routes.rb b/config/routes.rb index 110a67a49..a38f8450f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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