module ActionView::Rendering

def rendered_format

def rendered_format
  Template::Types[lookup_context.rendered_format]
end