X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/458402813cfc14d9e1cbca890b238ce78ee72357..35bbf82c200eb39eab5e5555e2a440903250769a:/config/routes.rb?ds=inline diff --git a/config/routes.rb b/config/routes.rb index 2c57f11ca..17eba541b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -86,6 +86,8 @@ ActionController::Routing::Routes.draw do |map| map.connect "api/#{API_VERSION}/bug/:id/close", :controller => 'map_bugs', :action => 'close_bug', :id => /\d+/ map.connect "api/#{API_VERSION}/bug/:id", :controller => 'map_bugs', :action => 'read', :id => /\d+/, :conditions => { :method => :get } map.connect "api/#{API_VERSION}/bug/:id", :controller => 'map_bugs', :action => 'delete', :id => /\d+/, :conditions => { :method => :delete } + + map.connect '/user/:display_name/bugs', :controller => 'map_bugs', :action => 'my_bugs'