X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bf9418957e0eb7e17ad992fbb890e0bb91743b51..d320673cc7bc8d5e79cea3c5ea5f9005129a63e6:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index bf1f2a20f..81bcb52a6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -91,8 +91,9 @@ ActionController::Routing::Routes.draw do |map| map.connect '/user/:display_name/traces/:id/icon', :controller => 'trace', :action => 'icon' # user pages - map.connect '/user/:display_name/make_friend', :controller => 'user', :action => 'make_friend' map.connect '/user/:display_name', :controller => 'user', :action => 'view' + map.connect '/user/:display_name/make_friend', :controller => 'user', :action => 'make_friend' + map.connect '/user/:display_name/remove_friend', :controller => 'user', :action => 'remove_friend' map.connect '/user/:display_name/diary', :controller => 'diary_entry', :action => 'list' map.connect '/user/:display_name/diary/:id', :controller => 'diary_entry', :action => 'list', :id => /\d+/ map.connect '/user/:display_name/diary/rss', :controller => 'diary_entry', :action => 'rss'