mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Remove the renderer option from the hash.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user