test/dummy/app/controllers/test_controller.rb in rails_pagination-2.0.8 vs test/dummy/app/controllers/test_controller.rb in rails_pagination-2.0.9

- old
+ new

@@ -1,7 +1,7 @@ class TestController < ApplicationController def index - @collection = Model.page(params[:p] || 1).per(2) + @collection = Model.page(params[:p] || 1).per(1) end end