X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ae00fa84c8f981e909c61ab31b6115bb96e859cc..b87983c2baf55d437c09e668188454d01b5f20b0:/config/routes.rb?ds=sidebyside diff --git a/config/routes.rb b/config/routes.rb index af72c457d..f65042dd7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -108,6 +108,8 @@ OpenStreetMap::Application.routes.draw do post "close" post "reopen" end + + resource :subscription, :only => [:create, :destroy], :controller => "note_subscriptions" end resources :user_blocks, :only => :show, :id => /\d+/, :controller => "user_blocks"