X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2403630da87df8a3b57913e8949ae0ff8f611d22..07f219f1ac4b44e8500d3263c8aa20ee35619e6e:/config/routes.rb?ds=inline diff --git a/config/routes.rb b/config/routes.rb index b68882dbf..f4c19f88c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -240,7 +240,9 @@ OpenStreetMap::Application.routes.draw do match "/user/:display_name/account" => "users#account", :via => [:get, :post], :as => "user_account" post "/user/:display_name/set_status" => "users#set_status", :as => :set_status_user + resource :dashboard, :only => [:show] resource :preferences, :only => [:show, :edit, :update] + resource :profile, :only => [:edit, :update] # friendships match "/user/:display_name/make_friend" => "friendships#make_friend", :via => [:get, :post], :as => "make_friend"