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