diff options
author | José Valim <jose.valim@gmail.com> | 2010-02-24 15:45:33 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-24 15:45:33 +0100 |
commit | 60ca754b97f1254eebd61da08fb2f58f298fec31 (patch) | |
tree | 39ca130b885caa30ca5a28b147ffc5e9f2a6431e /actionpack | |
parent | ae933a093db93c22b9facd3411afd9ef69719193 (diff) | |
download | rails-60ca754b97f1254eebd61da08fb2f58f298fec31.tar.gz rails-60ca754b97f1254eebd61da08fb2f58f298fec31.tar.bz2 rails-60ca754b97f1254eebd61da08fb2f58f298fec31.zip |
Remove the renderer option from the hash.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/renderers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/renderers.rb b/actionpack/lib/action_controller/metal/renderers.rb index 639b508746..49d3d6b466 100644 --- a/actionpack/lib/action_controller/metal/renderers.rb +++ b/actionpack/lib/action_controller/metal/renderers.rb @@ -19,7 +19,7 @@ module ActionController <<-RUBY_EVAL if options.key?(:#{name}) _process_options(options) - return _render_option_#{name}(options[:#{name}], options) + return _render_option_#{name}(options.delete(:#{name}), options) end RUBY_EVAL end |