module SmartPagination::Helper

Public Instance Methods

pager_for(collection, options = {})
Alias for: smart_pager_for
pagination_for(collection, options = {})
pagination_info_for(collection, options = {})
smart_pager_for(collection, options = {}) click to toggle source
# File lib/smart_pagination/helper.rb, line 9
def smart_pager_for(collection, options = {})
  options = options.merge(pager_mode: true)
  SmartPagination::Renderer.new(self, collection, options).render
end
Also aliased as: pager_for
smart_pagination_for(collection, options = {}) click to toggle source
# File lib/smart_pagination/helper.rb, line 3
def smart_pagination_for(collection, options = {})
  SmartPagination::Renderer.new(self, collection, options).render
end
Also aliased as: pagination_for
smart_pagination_info_for(collection, options = {}) click to toggle source
# File lib/smart_pagination/helper.rb, line 16
def smart_pagination_info_for(collection, options = {})
  options = options.merge(info_mode: true)
  SmartPagination::Renderer.new(self, collection, options).render
end
Also aliased as: pagination_info_for