X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cbbfdf394880d29c9a6cc2259fcfd474088fa9bb..0f9fb8af8bad78225e336107568159132526d3d8:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 0ce2f051d..b8d3fa1a0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -135,7 +135,6 @@ ActionController::Routing::Routes.draw do |map| map.connect '/trace/:id/data.:format', :controller => 'trace', :action => 'data' map.connect '/trace/:id/edit', :controller => 'trace', :action => 'edit' map.connect '/trace/:id/delete', :controller => 'trace', :action => 'delete' - map.connect '/trace/:id/make_public', :controller => 'trace', :action => 'make_public' map.connect '/user/:display_name/traces', :controller => 'trace', :action => 'list' map.connect '/user/:display_name/traces/page/:page', :controller => 'trace', :action => 'list' map.connect '/user/:display_name/traces/rss', :controller => 'trace', :action => 'georss' @@ -196,7 +195,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'