Sha256: 4dc28d7ed3c72cee8780f2e1693922d3e570acdb649550d5efd943e535a6e8c9

Contents?: true

Size: 321 Bytes

Versions: 5

Compression:

Stored size: 321 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?
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stationed-0.4.0 lib/stationed/generators/templates/paginating_decorator.rb
stationed-0.3.0 lib/stationed/generators/templates/paginating_decorator.rb
stationed-0.2.0 lib/stationed/generators/templates/paginating_decorator.rb
stationed-0.1.0 lib/stationed/generators/templates/paginating_decorator.rb
stationed-0.0.1 lib/stationed/generators/templates/paginating_decorator.rb