]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Clear test deliveries before and after system tests
[rails.git] / config / routes.rb
index 0a6ab0356f855e4fe3190fc808f619fca53693a6..0ffd0a546c431552257073e2e206759da2901c11 100644 (file)
@@ -123,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
@@ -302,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