module ActionView::Rendering

def _normalize_options(options)

Normalize options.
def _normalize_options(options)
  options = super(options)
  if options[:partial] == true
    options[:partial] = action_name
  end
  if (options.keys & [:partial, :file, :template]).empty?
    options[:prefixes] ||= _prefixes
  end
  options[:template] ||= (options[:action] || action_name).to_s
  options
end