Module: ActionView::Component::RenderingMonkeyPatch
- Defined in:
- lib/action_view/component/rendering_monkey_patch.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#render(options = {}, args = {}) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/action_view/component/rendering_monkey_patch.rb', line 6 def render( = {}, args = {}) if .respond_to?(:render_in) self.response_body = .render_in(self.view_context) else super end end |