method
render
rails latest stable - Class:
ActionView::PartialRenderer
render(partial, context, block)public
No documentation available.
# File actionview/lib/action_view/renderer/partial_renderer.rb, line 230
def render(partial, context, block)
template = find_template(partial, template_keys(partial))
if !block && (layout = @options[:layout])
layout = find_template(layout.to_s, template_keys(partial))
end
render_partial_template(context, @locals, template, layout, block)
end