Sha256: 0e9e264b4d89e2ed7925cf90833dba3116b3af9e7e7bfcaea5433a4f39d08548

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

require "rails/engine"

module Datagrid
  # @!private
  class Engine < ::Rails::Engine
    initializer "datagrid.helpers" do
      #TODO: check why it doesn't work
      ActiveSupport.on_load :action_view do
        include Datagrid::Helper
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datagrid-1.8.2 lib/datagrid/engine.rb
datagrid-1.8.1 lib/datagrid/engine.rb
datagrid-1.8.0 lib/datagrid/engine.rb
datagrid-1.7.0 lib/datagrid/engine.rb