Module: ViewComponent::RenderingComponentHelper

Defined in:
lib/view_component/rendering_component_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#render_component(component) ⇒ Object



5
6
7
# File 'lib/view_component/rendering_component_helper.rb', line 5

def render_component(component)
  self.response_body = component.render_in(view_context)
end