diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-07-05 12:17:57 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-07-05 12:17:57 +0100 |
commit | 6d6614ddfd582e5cde0b55e76521c05b96fb906a (patch) | |
tree | 09e2dba166b446e646b16e99181043ef26fa3741 /config/routes.rb | |
parent | b479373671365ba9377c23a8e984606ddab13330 (diff) | |
parent | d30312f2d13b561bc0f596a8a57b4a944401600e (diff) |
Merge branch 'develop' into wdtk
Conflicts:
doc/INSTALL.md
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 13ab6669e..a9c2c889a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -244,8 +244,10 @@ ActionController::Routing::Routes.draw do |map| map.with_options :controller => 'api' do |api| api.api_create_request '/api/v2/request.json', :action => 'create_request', :conditions => { :method => :post } - api.api_show_request '/api/v2/request/:id.json', :action => 'show_request', :conditions => { :method => :get } - api.api_add_correspondence '/api/v2/request/:id.json', :action => 'add_correspondence', :conditions => { :method => :post } + api.api_show_request '/api/v2/request/:id.json', :action => 'show_request', :conditions => { :method => :get } + api.api_add_correspondence '/api/v2/request/:id.json', :action => 'add_correspondence', :conditions => { :method => :post } + + api.api_body_request_events '/api/v2/body/:id/request_events.:feed_type', :action => 'body_request_events', :feed_type => '^(json|atom)$' end map.filter('conditionallyprependlocale') |