Sha256: d5ad6cd025990ad266fec353b1f4e7ea117fc32ec47ed6e50fe8ffb966e4360f
Contents?: true
Size: 122 Bytes
Versions: 2
Compression:
Stored size: 122 Bytes
Contents
class TestController < ApplicationController def index @collection = Model.page(params[:p] || 1).per(1) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_pagination-2.0.10 | test/dummy/app/controllers/test_controller.rb |
rails_pagination-2.0.9 | test/dummy/app/controllers/test_controller.rb |