Remove the renderer option from the hash.

This commit is contained in:
José Valim
2010-02-24 15:45:33 +01:00
parent ae933a093d
commit 60ca754b97

View File

@@ -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