Sha256: 875de3a42ce3eaad9e148f8cb11dba90cce5e1e7b6ea6c68d92850bc6fe6c486
Contents?: true
Size: 420 Bytes
Versions: 4
Compression:
Stored size: 420 Bytes
Contents
module GoodSort module WillPaginate def self.included(base) base.send :include, InstanceMethods base.alias_method_chain :will_paginate, :good_sort end module InstanceMethods def will_paginate_with_good_sort( collection = nil, options = {} ) will_paginate_without_good_sort( collection, options.merge( :remote => @remote_options, :params => params ) ) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems