]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Merge remote-tracking branch 'upstream/pull/5375'
[rails.git] / config / routes.rb
index af72c457d25d0b950a52cd8a0a8037fe1f057e9d..f65042dd7d9ab1c9bf83e22b5c2f1c71c5503ff9 100644 (file)
@@ -108,6 +108,8 @@ OpenStreetMap::Application.routes.draw do
         post "close"
         post "reopen"
       end
         post "close"
         post "reopen"
       end
+
+      resource :subscription, :only => [:create, :destroy], :controller => "note_subscriptions"
     end
 
     resources :user_blocks, :only => :show, :id => /\d+/, :controller => "user_blocks"
     end
 
     resources :user_blocks, :only => :show, :id => /\d+/, :controller => "user_blocks"