Create api map resource
This commit is contained in:
parent
8cf77a2f36
commit
01b5ed5d28
9 changed files with 30 additions and 30 deletions
|
@ -62,11 +62,11 @@ OpenStreetMap::Application.routes.draw do
|
|||
put "relation/:id" => "relations#update", :id => /\d+/
|
||||
delete "relation/:id" => "relations#delete", :id => /\d+/
|
||||
get "relations" => "relations#index"
|
||||
|
||||
get "map" => "map#index"
|
||||
end
|
||||
|
||||
namespace :api, :path => "api/0.6" do
|
||||
resource :map, :only => :show
|
||||
|
||||
resources :tracepoints, :path => "trackpoints", :only => :index
|
||||
|
||||
resources :users, :only => :index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue