render(context, options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/renderer/template_renderer.rb, line 6
    def render(context, options)
      @view    = context
      @details = extract_details(options)
      extract_format(options[:file] || options[:template], @details)
      template = determine_template(options)
      context  = @lookup_context

      unless context.rendered_format
        context.formats = template.formats unless template.formats.empty?
        context.rendered_format = context.formats.first
      end

      render_template(template, options[:layout], options[:locals])
    end
Register or log in to add new notes.