Skip to content

Commit

Permalink
Avoid conflicts between kaminari and will_paginate
Browse files Browse the repository at this point in the history
... or rails-admin will die.
  • Loading branch information
Dennis Schubert committed Dec 14, 2014
1 parent 417ce3d commit bac2dfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/initializers/kaminari.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Kaminari.configure do |config|
config.page_method_name = :per_page_kaminari
end

0 comments on commit bac2dfe

Please sign in to comment.