lib/action_view/component/engine.rb in actionview-component-1.12.0 vs lib/action_view/component/engine.rb in actionview-component-1.13.0

- old
+ new

@@ -44,9 +44,13 @@ initializer "action_view_component.monkey_patch_render" do ActiveSupport.on_load(:action_view) do ActionView::Base.prepend ActionView::Component::RenderMonkeyPatch end + + ActiveSupport.on_load(:action_controller) do + ActionController::Base.prepend ActionView::Component::RenderingMonkeyPatch + end end config.after_initialize do |app| options = app.config.action_view_component