Sha256: 728c3c96278d19968c4cbe5683534389aabec65632913391e5144827a6293ffb

Contents?: true

Size: 119 Bytes

Versions: 1

Compression:

Stored size: 119 Bytes

Contents

class PagesController < ApplicationController

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pageable-2.1.0 test/dummy/app/controllers/pages_controller.rb