X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c3e2e6462f293596aef5d5de18b0a173edc046c7..ef7f3d800cbdd49b692df10d312e5fd880e2e938:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 3d47c6dcf..dc24e3000 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -78,7 +78,7 @@ OpenStreetMap::Application.routes.draw do match 'api/0.6/gpx/:id' => 'trace#api_delete', :via => :delete, :id => /\d+/ match 'api/0.6/gpx/:id/details' => 'trace#api_read', :via => :get, :id => /\d+/ match 'api/0.6/gpx/:id/data' => 'trace#api_data', :via => :get - + # AMF (ActionScript) API match 'api/0.6/amf/read' => 'amf#amf_read', :via => :post match 'api/0.6/amf/write' => 'amf#amf_write', :via => :post @@ -86,7 +86,7 @@ OpenStreetMap::Application.routes.draw do # Map notes API scope "api/0.6" do - resources :notes, :except => [ :new, :edit, :update ], :constraints => { :id => /\d+/ }, :defaults => { :format => "xml" } do + resources :notes, :except => [:new, :edit, :update], :constraints => { :id => /\d+/ }, :defaults => { :format => "xml" } do collection do get 'search' get 'feed', :defaults => { :format => "rss" }