Class: ActionView::TemplateRenderer
- Inherits:
-
AbstractRenderer
- Object
- AbstractRenderer
- ActionView::TemplateRenderer
- Defined in:
- lib/action_view/renderer/template_renderer.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from AbstractRenderer
Constructor Details
This class inherits a constructor from ActionView::AbstractRenderer
Instance Method Details
#render(context, options) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/action_view/renderer/template_renderer.rb', line 5 def render(context, ) @details = extract_details() template = determine_template() prepend_formats(template.format) render_template(context, template, [:layout], [:locals] || {}) end |