Create api map resource

This commit is contained in:
Anton Khorev 2025-01-24 10:47:58 +03:00
parent 8cf77a2f36
commit 01b5ed5d28
9 changed files with 30 additions and 30 deletions

View file

@ -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