X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b755db57a6854d11519d8f7d6d16007f802608ac..8cef62cd2cec4a297e46b4f2a86c9afeadb3b283:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 2de4ab2ac..be27698a5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -84,7 +84,7 @@ OpenStreetMap::Application.routes.draw do get "gpx/:id/data" => "api/traces#data", :as => :api_trace_data # Map notes API - resources :notes, :except => [:new, :edit, :update], :constraints => { :id => /\d+/ }, :defaults => { :format => "xml" }, :controller => "api/notes" do + resources :notes, :except => [:new, :edit, :update], :constraints => { :id => /\d+/ }, :controller => "api/notes" do collection do get "search" get "feed", :defaults => { :format => "rss" }