X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2cfc030bbac65d8cb687ee17e6fbf18ffa5ea2cc..90e787eed845a850eab63a22831c9cfa47f4dd3d:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 54bf037cf..b3fc5af15 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -121,7 +121,10 @@ 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 end # Data browsing @@ -295,7 +298,9 @@ 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 + resource :home, :only => :show end end