X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/62613e7b479ce351daec94798f1a63b8946d979c..1f59507e78e16a281407f16b804e2111323bc767:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 54bf037cf..0a6ab0356 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 @@ -122,6 +124,9 @@ OpenStreetMap::Application.routes.draw do end resources :user_blocks, :only => :show, :id => /\d+/, :controller => "user_blocks" + namespace :user_blocks, :path => "user/blocks" do + resource :active_list, :path => "active", :only => :show + end end # Data browsing @@ -295,6 +300,7 @@ OpenStreetMap::Application.routes.draw do resource :account, :only => [:edit, :update, :destroy] do scope :module => :accounts do resource :terms, :only => [:show, :update] + resource :pd_declaration, :only => [:show, :create] resource :deletion, :only => :show end end