th1988 / kaminari-cells

Kaminari pagination in Cells.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kaminari::Cells

Use Kaminari in Cells.

Installation

Add this line to your application's Gemfile:

gem 'kaminari-cells'

Usage

To use the wonderful Kaminari gem in your Cells view models, just do

  class CommentsCell < Cell::ViewModel
    include Kaminari::Cells

You can now use #paginate in your cell and it will work.

About

Kaminari pagination in Cells.

License:MIT License


Languages

Language:Ruby 99.4%Language:HTML 0.6%