Sha256: a407f1110799871c5e96017cc8a604e2b26e3d3465cc90064a4466d8a53cb8b7
Contents?: true
Size: 334 Bytes
Versions: 2
Compression:
Stored size: 334 Bytes
Contents
# Special decorator for delegating Kaminari methods to the underlying # CollectionDecorator. This decorator is set as default in # {ApplicationDecorator}. class PaginatingDecorator < Draper::CollectionDecorator delegate :current_page, :total_pages, :limit_value, :total_count, :offset_value, :last_page?, :model_name end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stationed-0.6.0 | lib/stationed/generators/templates/paginating_decorator.rb |
stationed-0.5.0 | lib/stationed/generators/templates/paginating_decorator.rb |