X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6027c42ee7b5ac6b36e8a62135d2cf67b3ca8250..19c26e70a357f4e191c8d7bb8c2cc57575792cc0:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 286a53274..2cf18e334 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -236,7 +236,7 @@ OpenStreetMap::Application.routes.draw do post "/user/:display_name/diary/:id/unsubscribe" => "diary_entry#unsubscribe", :as => :diary_entry_unsubscribe, :id => /\d+/ # user pages - get "/user/:display_name" => "user#view", :as => "user" + get "/user/:display_name" => "user#show", :as => "user" match "/user/:display_name/make_friend" => "user#make_friend", :via => [:get, :post], :as => "make_friend" match "/user/:display_name/remove_friend" => "user#remove_friend", :via => [:get, :post], :as => "remove_friend" match "/user/:display_name/account" => "user#account", :via => [:get, :post]