X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6569ed24e4bcc74b8fcbdd70591d4c4a6d907691..8fcd4513fcbffec76cc2c1a807810f7ab9b3446f:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 7e9cd8dfd..0ffd0a546 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -38,6 +38,8 @@ OpenStreetMap::Application.routes.draw do end namespace :api, :path => "api/0.6" do + resources :changeset_comments, :only => :index + resources :nodes, :only => [:index, :create] resources :nodes, :path => "node", :id => /\d+/, :only => [:show, :update, :destroy] do scope :module => :nodes do @@ -300,6 +302,7 @@ OpenStreetMap::Application.routes.draw do resource :terms, :only => [:show, :update] resource :pd_declaration, :only => [:show, :create] resource :deletion, :only => :show + resource :home, :only => :show end end