List bugs submited or commented on by user
This commit is contained in:
parent
81113f37b7
commit
c9a3f91f69
6 changed files with 141 additions and 5 deletions
|
@ -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'
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue