X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/30201e9e7f5954c336912515e486d4aaa5c34252..0a046673d630a4618c27559875ce613465d85d3c:/config/routes.rb?ds=sidebyside diff --git a/config/routes.rb b/config/routes.rb index 415f8a01b..404e7b0a3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -102,6 +102,8 @@ OpenStreetMap::Application.routes.draw do post "notes/editPOIexec" => "api/notes#comment" get "notes/getGPX" => "api/notes#index", :format => "gpx" get "notes/getRSSfeed" => "api/notes#feed", :format => "rss" + + resources :user_blocks, :only => [:show], :constraints => { :id => /\d+/ }, :controller => "api/user_blocks", :as => :api_user_blocks end # Data browsing