X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edd12c6995aa5f8ef5d6c8d898e42d1a5931430f..bfc8c5f6de1bc79f6d81a28e5c7e10ff300100b8:/config/routes.rb?ds=sidebyside 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"