X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0a86a1ea8db0867c34f7d9dff602ee3da6036bcd..f38824856d6eb3b51bc7c340deff487f5d49516d:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index ca0c4ecf0..67deae7ed 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -68,11 +68,11 @@ OpenStreetMap::Application.routes.draw do get "user/details" => "user#api_details" get "user/gpx_files" => "user#api_gpx_files" - get "user/preferences" => "user_preference#read" - get "user/preferences/:preference_key" => "user_preference#read_one" - put "user/preferences" => "user_preference#update" - put "user/preferences/:preference_key" => "user_preference#update_one" - delete "user/preferences/:preference_key" => "user_preference#delete_one" + get "user/preferences" => "user_preferences#read" + get "user/preferences/:preference_key" => "user_preferences#read_one" + put "user/preferences" => "user_preferences#update" + put "user/preferences/:preference_key" => "user_preferences#update_one" + delete "user/preferences/:preference_key" => "user_preferences#delete_one" post "gpx/create" => "trace#api_create" get "gpx/:id" => "trace#api_read", :id => /\d+/