X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f5aa031b584b36a96664d7c0e159329c6ebf5861..47ef813f1fbb59136a77bf1d154ce4d136269458:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 6969218b7..af5730d21 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -127,6 +127,8 @@ OpenStreetMap::Application.routes.draw do get "/user/:display_name/notes" => "notes#index", :as => :user_notes get "/history/friends" => "changesets#index", :friends => true, :as => "friend_changesets", :defaults => { :format => :html } get "/history/nearby" => "changesets#index", :nearby => true, :as => "nearby_changesets", :defaults => { :format => :html } + match "/changeset/:id/subscribe" => "changesets#subscribe", :via => [:get, :post], :as => "changeset_subscribe" + match "/changeset/:id/unsubscribe" => "changesets#unsubscribe", :via => [:get, :post], :as => "changeset_unsubscribe" get "/browse/way/:id", :to => redirect(:path => "/way/%{id}") get "/browse/way/:id/history", :to => redirect(:path => "/way/%{id}/history")