Module: Components::ClassMethods

Defined in:
lib/six-updater-web/vendor/plugins/render_component/lib/components.rb

Instance Method Summary collapse

Instance Method Details

#process_with_components(request, response, parent_controller = nil) ⇒ Object

Track parent controller to identify component requests



24
25
26
27
28
# File 'lib/six-updater-web/vendor/plugins/render_component/lib/components.rb', line 24

def process_with_components(request, response, parent_controller = nil) #:nodoc:
  controller = new
  controller.parent_controller = parent_controller
  controller.process(request, response)
end