Skip to content

Instantly share code, notes, and snippets.

@elsapet
Created September 28, 2015 08:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save elsapet/5b24a94df19e821a52a9 to your computer and use it in GitHub Desktop.
class PaginatingDecorator < Draper::CollectionDecorator
delegate :current_page, :total_pages, :limit_value
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment