X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6f04849421f613236c910f86363310819798e2df..507c395f51c20c3c0d5375313ea1ca0ed4156c75:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index f65042dd7..31b42f99f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -288,8 +288,9 @@ OpenStreetMap::Application.routes.draw do match "/user/:display_name/remove_friend" => "friendships#remove_friend", :via => [:get, :post], :as => "remove_friend" # user lists - match "/users" => "users#index", :via => [:get, :post] - match "/users/:status" => "users#index", :via => [:get, :post] + namespace :users do + resource :list, :path => "(:status)", :only => [:show, :update] + end # geocoder get "/search" => "geocoder#search"