X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e443d99edd9c9b68d6c0fa41b028bb9a5cdb07c5..f7367baa6b6091df3eabbe8b7a4b99e3fa314743:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 8fd11c091..b0b2219c3 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+/ }, :controller => "api/notes" do + resources :notes, :except => [:new, :edit, :update], :constraints => { :id => /\d+/ }, :controller => "api/notes", :as => :api_notes do collection do get "search" get "feed", :defaults => { :format => "rss" }