Playbook logo
14.19.0

Pagination

Default

  • 1
  • 3
  • 4
  • 5

  • Disclaimer

    Our Pagination kit depends on the will_paginate library. Please follow the basic will_paginate setup.

    Once you have perfomed the paginated query in your controller file you can use our kit (see code example below) instead of <%= will_paginate @users %> in your view file.

    You need to add: require "playbook/pagination_renderer" in your apps controller file.



    Available Props

    Props Type Values Default

    model

    string

    view

    string