Sha256: a02604ede4417589a6376453fe91df250d4e2d594955fc5da70642d306204a7f
Contents?: true
Size: 417 Bytes
Versions: 9
Compression:
Stored size: 417 Bytes
Contents
require 'rails' require 'active_record' require 'action_view' require File.join(File.dirname(__FILE__), 'active_record') require File.join(File.dirname(__FILE__), 'helpers') module Kaminari class Railtie < ::Rails::Railtie #:nodoc: initializer 'paginatablize' do |app| ::ActiveRecord::Base.send :include, Kaminari::ActiveRecord ::ActionView::Base.send :include, Kaminari::Helpers end end end
Version data entries
9 entries across 9 versions & 1 rubygems