lib/gon/helpers.rb in gon-6.2.1 vs lib/gon/helpers.rb in gon-6.3.1

- old
+ new

@@ -50,7 +50,11 @@ request.uuid end end end -ActionView::Base.send :include, Gon::ViewHelpers -ActionController::Base.send :include, Gon::ControllerHelpers +ActiveSupport.on_load :action_view do + ActionView::Base.send :include, Gon::ViewHelpers +end +ActiveSupport.on_load :action_controller do + ActionController::Base.send :include, Gon::ControllerHelpers +end