X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8ecbe9b07d60828c4d20fbf329696c12bd23b917..8fcd4513fcbffec76cc2c1a807810f7ab9b3446f:/config/routes.rb?ds=sidebyside diff --git a/config/routes.rb b/config/routes.rb index 3971494aa..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 @@ -121,7 +123,7 @@ OpenStreetMap::Application.routes.draw do resource :subscription, :only => [:create, :destroy], :controller => "note_subscriptions" end - resources :user_blocks, :only => :show, :id => /\d+/, :controller => "user_blocks" + resources :user_blocks, :only => [:show, :create], :id => /\d+/, :controller => "user_blocks" namespace :user_blocks, :path => "user/blocks" do resource :active_list, :path => "active", :only => :show end @@ -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