X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fd206473207d4e1c6c67c6a062676b678103ba45..6569ed24e4bcc74b8fcbdd70591d4c4a6d907691:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 3971494aa..7e9cd8dfd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -121,7 +121,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