X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5444af981c8c3161ed7991d0fb0fd7463175fc7e..c5a7d64522b193812e568b351d23f73173ed5ef5:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 98869abf7..198932583 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -66,10 +66,10 @@ OpenStreetMap::Application.routes.draw do get "relations/search" => "api/search#search_relations" get "nodes/search" => "api/search#search_nodes" - get "user/:id" => "api/users#api_read", :id => /\d+/ - get "user/details" => "api/users#api_details" - get "user/gpx_files" => "api/users#api_gpx_files" - get "users" => "api/users#api_users", :as => :api_users + get "user/:id" => "api/users#show", :id => /\d+/ + get "user/details" => "api/users#details" + get "user/gpx_files" => "api/users#gpx_files" + get "users" => "api/users#index", :as => :api_users get "user/preferences" => "api/user_preferences#read" get "user/preferences/:preference_key" => "api/user_preferences#read_one"