Sha256: d49648e5c7a7e4f6ae9068f7ed9d8ae41b51a4c085e0188387d6d08ff8950323

Contents?: true

Size: 228 Bytes

Versions: 3

Compression:

Stored size: 228 Bytes

Contents

require_relative 'view_helpers'

module RailsServersideDatatables
  class Railtie < Rails::Railtie
    initializer 'rails_serverside_datatables.view_helpers' do
      ActionView::Base.send :include, ViewHelpers
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_serverside_datatables-0.1.3 lib/rails_serverside_datatables/views/railtie.rb
rails_serverside_datatables-0.1.2 lib/rails_serverside_datatables/views/railtie.rb
rails_serverside_datatables-0.1.1 lib/rails_serverside_datatables/views/railtie.rb