lib/kaminari/models/configuration_methods.rb in kaminari-0.14.0 vs lib/kaminari/models/configuration_methods.rb in kaminari-0.14.1

- old
+ new

@@ -25,10 +25,10 @@ end # This model's max +per_page+ value # returns +max_per_page+ value unless explicitly overridden via <tt>max_paginates_per</tt> def max_per_page - @_max_per_page ||= Kaminari.config.max_per_page + @_max_per_page || Kaminari.config.max_per_page end end end end