Flowdock
method

render

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: TemplateRenderer
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 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
Register or log in to add new notes.