_process_format(format)
Assign the rendered format to look up context.
# File actionview/lib/action_view/rendering.rb, line 107 def _process_format(format) super lookup_context.formats = [format.to_sym] lookup_context.rendered_format = lookup_context.formats.first end