module ViewComponent::RenderingMonkeyPatch
def render(options = {}, args = {})
def render(options = {}, args = {}) if options.respond_to?(:render_in) self.response_body = options.render_in(view_context) else super end end
def render(options = {}, args = {}) if options.respond_to?(:render_in) self.response_body = options.render_in(view_context) else super end end