mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Do not re-define the #page method on mongoid 5.0
The issue reported on #567 doesn't appear on mongoid 5.0, so we don't need this hack any more. * https://github.com/amatsuda/kaminari/issues/567 * https://github.com/amatsuda/kaminari/issues/646#issuecomment-71754471 fixes #723.
This commit is contained in:
parent
4daaccb742
commit
7205e5db05
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ module Kaminari
|
|||
super
|
||||
kls.send(:include, Kaminari::MongoidExtension::Document.dup)
|
||||
end
|
||||
end
|
||||
end if Mongoid::VERSION < '5.0.0'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue