X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7fc00c9314b6d774616ec9bb298f7a4dd2c63b8d..16cbc2eb798ed3de360574c874049225641b3d76:/config/routes.rb?ds=sidebyside diff --git a/config/routes.rb b/config/routes.rb index 63ce06167..7689b506d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -87,7 +87,6 @@ OpenStreetMap::Application.routes.draw do # AMF (ActionScript) API post "amf/read" => "api/amf#amf_read" post "amf/write" => "api/amf#amf_write" - get "swf/trackpoints" => "api/swf#trackpoints" # Map notes API resources :notes, :except => [:new, :edit, :update], :constraints => { :id => /\d+/ }, :defaults => { :format => "xml" }, :controller => "api/notes" do @@ -234,7 +233,9 @@ OpenStreetMap::Application.routes.draw do end post "/user/:display_name/diary/:id/newcomment" => "diary_entries#comment", :id => /\d+/ post "/user/:display_name/diary/:id/hide" => "diary_entries#hide", :id => /\d+/, :as => :hide_diary_entry + post "/user/:display_name/diary/:id/unhide" => "diary_entries#unhide", :id => /\d+/, :as => :unhide_diary_entry post "/user/:display_name/diary/:id/hidecomment/:comment" => "diary_entries#hidecomment", :id => /\d+/, :comment => /\d+/, :as => :hide_diary_comment + post "/user/:display_name/diary/:id/unhidecomment/:comment" => "diary_entries#unhidecomment", :id => /\d+/, :comment => /\d+/, :as => :unhide_diary_comment post "/user/:display_name/diary/:id/subscribe" => "diary_entries#subscribe", :as => :diary_entry_subscribe, :id => /\d+/ post "/user/:display_name/diary/:id/unsubscribe" => "diary_entries#unsubscribe", :as => :diary_entry_unsubscribe, :id => /\d+/