Module: ViewComponent::RenderToStringMonkeyPatch
- Defined in:
- lib/view_component/render_to_string_monkey_patch.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#render_to_string(options = {}, args = {}) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/view_component/render_to_string_monkey_patch.rb', line 5 def render_to_string( = {}, args = {}) if .respond_to?(:render_in) .render_in(self.view_context) else super end end |