X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edd12c6995aa5f8ef5d6c8d898e42d1a5931430f..98b4d62462040deb0d3564808917f69cc723c3a3:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 96b27c145..f65042dd7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -109,7 +109,7 @@ OpenStreetMap::Application.routes.draw do post "reopen" end - resource :subscription, :only => :create, :controller => "note_subscriptions" + resource :subscription, :only => [:create, :destroy], :controller => "note_subscriptions" end resources :user_blocks, :only => :show, :id => /\d+/, :controller => "user_blocks"