Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan committed Oct 14, 2024
1 parent 0b71433 commit e8f9ac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/datagrid/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8f9ac5

Please sign in to comment.