Sha256: 8abc1f836ae9e15d32185f03109222d2ed8d6095cf5327483727abdab05c58e1

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

h1. About

h1. Usage

<pre>
dependency "rango-haml"
dependency "rango-pagination"
</pre>

<pre>
class Posts < Application
  before :setup_page
  private
  def setup_page
    @page = Order.page(params[:page] || 1)
  end
end
</pre>

# it will be partial "gems/gems/rango-pagination/app/rango-pagination/views", page: @page
paginate @page

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rango-0.0.4 lib/rango/contrib/pagination/README.textile
rango-0.0.3 lib/rango/contrib/pagination/README.textile