Sha256: 720ebfe7cb5c166f6e4fdeebc772a4de0e7fa119ff53adc3b760a4d975b6ab6c

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

module Pagers
  class Railtie < Rails::Railtie

    initializer 'pagers.extensions' do
      ::ActiveRecord::Base.include(
        Pagers::Extensions::ActiveRecord::Base
      )
      ::ActionView::Base.include(
        Pagers::Extensions::ActionView::Base
      )
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pagers-4.0.0.0 lib/pagers/railtie.rb