aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-10-20 16:20:44 +0100
committerFrancis Irving <francis@mysociety.org>2010-10-20 16:20:44 +0100
commit27cb7d82e63f00e947b81953e19e153575d402ad (patch)
treefd344b7abba12c381f0b4dfe311c5a19608d0728 /app/controllers/request_controller.rb
parent7b85b81d1076169a9b01c301545f0f9192540f97 (diff)
Show more appropriate info about users/bodies everywhere in JSON.
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index a66fdf5bb..545a40cfe 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -71,7 +71,7 @@ class RequestController < ApplicationController
respond_to do |format|
format.html { @has_json = true }
- format.json { render :json => @info_request.json_for_api }
+ format.json { render :json => @info_request.json_for_api(true) }
end
end