Sha256: 32379b4edf9b1c7b24f23687a43d2b2e7a66a121634ce9e35ad079dce89f590f

Contents?: true

Size: 129 Bytes

Versions: 4

Compression:

Stored size: 129 Bytes

Contents

class PagesController < ApplicationController

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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pagers-3.0.3 test/dummy/app/controllers/pages_controller.rb
pagers-3.0.2 test/dummy/app/controllers/pages_controller.rb
pagers-3.0.1 test/dummy/app/controllers/pages_controller.rb
pagers-3.0.0 test/dummy/app/controllers/pages_controller.rb