X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/00375024263970a43ea7d39e3c65dfd0f32e8869..1779347849622ade2abf4926a2db867d69f72033:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 4c1c637d2..99dca52ff 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -109,7 +109,7 @@ OpenStreetMap::Application.routes.draw do match '/browse/relation/:id' => 'browse#relation', :via => :get, :id => /\d+/ match '/browse/relation/:id/history' => 'browse#relation_history', :via => :get, :id => /\d+/ match '/browse/changeset/:id' => 'browse#changeset', :via => :get, :as => :changeset, :id => /\d+/ - match '/browse/note/:id' => 'browse#note', :via => :get, :id => /\d+/ + match '/browse/note/:id' => 'browse#note', :via => :get, :id => /\d+/, :as => "browse_note" match '/user/:display_name/edits' => 'changeset#list', :via => :get match '/user/:display_name/edits/feed' => 'changeset#feed', :via => :get, :format => :atom match '/user/:display_name/notes' => 'notes#mine', :via => :get @@ -131,6 +131,7 @@ OpenStreetMap::Application.routes.draw do match '/logout' => 'user#logout', :via => [:get, :post] match '/offline' => 'site#offline', :via => :get match '/key' => 'site#key', :via => :get + match '/id_iframe' => 'site#id_iframe', :via => :get match '/user/new' => 'user#new', :via => :get match '/user/terms' => 'user#terms', :via => [:get, :post] match '/user/save' => 'user#save', :via => :post @@ -225,6 +226,7 @@ OpenStreetMap::Application.routes.draw do # export match '/export/start' => 'export#start', :via => :get match '/export/finish' => 'export#finish', :via => :post + match '/export/embed' => 'export#embed', :via => :get # messages match '/user/:display_name/inbox' => 'message#inbox', :via => :get, :as => "inbox"