lib/ajax-datatables-rails.rb in ajax-datatables-rails-0.3.1 vs lib/ajax-datatables-rails.rb in ajax-datatables-rails-0.4.0
- old
+ new
@@ -1,10 +1,11 @@
-require 'ajax-datatables-rails/version'
-require 'ajax-datatables-rails/config'
-require 'ajax-datatables-rails/models'
-require 'ajax-datatables-rails/base'
-require 'ajax-datatables-rails/extensions/simple_paginator'
-require 'ajax-datatables-rails/extensions/kaminari'
-require 'ajax-datatables-rails/extensions/will_paginate'
-
module AjaxDatatablesRails
+ require 'ajax-datatables-rails/version'
+ require 'ajax-datatables-rails/config'
+ require 'ajax-datatables-rails/base'
+ require 'ajax-datatables-rails/datatable/datatable'
+ require 'ajax-datatables-rails/datatable/simple_search'
+ require 'ajax-datatables-rails/datatable/simple_order'
+ require 'ajax-datatables-rails/datatable/column_date_filter' unless AjaxDatatablesRails.old_rails?
+ require 'ajax-datatables-rails/datatable/column'
+ require 'ajax-datatables-rails/orm/active_record'
end