aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/responder.rb
diff options
context:
space:
mode:
authorJosh Kalderimis <josh.kalderimis@gmail.com>2011-03-31 18:25:29 +0200
committerJosé Valim <jose.valim@gmail.com>2011-03-31 18:53:36 +0200
commitb45302d7676a5e38d82662f9068ee6d832ff2e3c (patch)
tree5b3cef136b674cef822d355ddbaca2c6580304d8 /actionpack/lib/action_controller/metal/responder.rb
parent48404a751d7cab1556c390a5915c90947d56b46e (diff)
downloadrails-b45302d7676a5e38d82662f9068ee6d832ff2e3c.tar.gz
rails-b45302d7676a5e38d82662f9068ee6d832ff2e3c.tar.bz2
rails-b45302d7676a5e38d82662f9068ee6d832ff2e3c.zip
pass respond_with options to controller render when using a template for api navigation
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/lib/action_controller/metal/responder.rb')
-rw-r--r--actionpack/lib/action_controller/metal/responder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/responder.rb b/actionpack/lib/action_controller/metal/responder.rb
index 3862a68b44..3d009e3de3 100644
--- a/actionpack/lib/action_controller/metal/responder.rb
+++ b/actionpack/lib/action_controller/metal/responder.rb
@@ -187,7 +187,7 @@ module ActionController #:nodoc:
# controller.
#
def default_render
- @default_response.call
+ @default_response.call(options)
end
# Display is just a shortcut to render a resource with the current format.