]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Don't show types twice in issue type select
[rails.git] / config / routes.rb
index 96b27c145d64b79d1f7110b613557f02a604cad2..f65042dd7d9ab1c9bf83e22b5c2f1c71c5503ff9 100644 (file)
@@ -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"