Sha256: 16f356555f35c5399f91b061e2caee1a021ec81c75370f1936947314482cfd62

Contents?: true

Size: 122 Bytes

Versions: 4

Compression:

Stored size: 122 Bytes

Contents

class TestController < ApplicationController

  def index
    @collection = Model.page(params[:p] || 1).per(2)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_pagination-2.0.8 test/dummy/app/controllers/test_controller.rb
rails_pagination-2.0.7 test/dummy/app/controllers/test_controller.rb
rails_pagination-2.0.6 test/dummy/app/controllers/test_controller.rb
rails_pagination-2.0.5 test/dummy/app/controllers/test_controller.rb