method
render
v3.1.0 -
Show latest stable
- Class:
ActionView::TemplateRenderer
render(context, options)public
No documentation available.
# File actionpack/lib/action_view/renderer/template_renderer.rb, line 6
def render(context, options)
@view = context
wrap_formats(options[:template] || options[:file]) do
template = determine_template(options)
freeze_formats(template.formats, true)
render_template(template, options[:layout], options[:locals])
end
end