diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-03-31 18:25:29 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-03-31 18:53:36 +0200 |
commit | b45302d7676a5e38d82662f9068ee6d832ff2e3c (patch) | |
tree | 5b3cef136b674cef822d355ddbaca2c6580304d8 /actionpack/lib/action_controller/metal/implicit_render.rb | |
parent | 48404a751d7cab1556c390a5915c90947d56b46e (diff) | |
download | rails-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/implicit_render.rb')
-rw-r--r-- | actionpack/lib/action_controller/metal/implicit_render.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/implicit_render.rb b/actionpack/lib/action_controller/metal/implicit_render.rb index 678f4ca763..3ec0c4c6a4 100644 --- a/actionpack/lib/action_controller/metal/implicit_render.rb +++ b/actionpack/lib/action_controller/metal/implicit_render.rb @@ -10,8 +10,8 @@ module ActionController end end - def default_render - render + def default_render(*args) + render(*args) end def action_method?(action_name) |