From e8f9ac50d8b718fef6f5b7d7e959f8e163ef5cd4 Mon Sep 17 00:00:00 2001 From: Bogdan Gusiev Date: Mon, 14 Oct 2024 16:25:22 +0200 Subject: [PATCH] Cleanup --- lib/datagrid/engine.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/datagrid/engine.rb b/lib/datagrid/engine.rb index cf5d1f2..11ae96b 100644 --- a/lib/datagrid/engine.rb +++ b/lib/datagrid/engine.rb @@ -6,8 +6,8 @@ module Datagrid # @!private class Engine < ::Rails::Engine def self.extend_modules - ActionView::Base.send(:include, Datagrid::Helper) - ActionView::Helpers::FormBuilder.send(:include, Datagrid::FormBuilder) + ActionView::Base.include(Datagrid::Helper) + ActionView::Helpers::FormBuilder.include(Datagrid::FormBuilder) end initializer "datagrid.helpers" do