X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f50670e34d66cb18f6a3dea8a74539a268b7dab5..e470d8a6593d1a5496e854e76ad7940be034cadf:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 0ce2f051d..0bc0d8cd3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -196,7 +196,7 @@ ActionController::Routing::Routes.draw do |map| map.connect '/message/delete/:message_id', :controller => 'message', :action => 'delete' # oauth admin pages (i.e: for setting up new clients, etc...) - map.resources :oauth_clients + map.resources :oauth_clients, :path_prefix => '/user/:display_name' map.connect '/oauth/revoke', :controller => 'oauth', :action => 'revoke' map.authorize '/oauth/authorize', :controller => 'oauth', :action => 'oauthorize' map.request_token '/oauth/request_token', :controller => 'oauth', :action => 'request_token'