X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edd12c6995aa5f8ef5d6c8d898e42d1a5931430f..1c3e4746b0c901c19722ee6443266de325cca668:/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"