lib/action_view/renderer/partial_renderer.rb in actionpack-3.2.13 vs lib/action_view/renderer/partial_renderer.rb in actionpack-3.2.14.rc1
- old
+ new
@@ -279,9 +279,11 @@
@options = options
@locals = options[:locals] || {}
@block = block
@details = extract_details(options)
+ prepend_formats(options[:formats])
+
if String === partial
@object = options[:object]
@path = partial
@collection = collection
else