Merge remote-tracking branch 'upstream/pull/3714'
This commit is contained in:
commit
db52805f97
3 changed files with 10 additions and 9 deletions
|
@ -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" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue