method

render

render(context, options)
public

No documentation available.

# File actionpack/lib/action_view/renderer/template_renderer.rb, line 5
    def render(context, options)
      @view    = context
      @details = extract_details(options)
      template = determine_template(options)
      context  = @lookup_context

      prepend_formats(template.formats)

      unless context.rendered_format
        context.rendered_format = template.formats.first || formats.first
      end

      render_template(template, options[:layout], options[:locals])
    end