Module: WillPaginate::Sinatra::Helpers

Includes:
ViewHelpers
Defined in:
lib/will_paginate/view_helpers/sinatra.rb

Instance Method Summary collapse

Methods included from ViewHelpers

#page_entries_info

Methods included from I18n

load_path, locale_dir, #will_paginate_translate

Instance Method Details

#will_paginate(collection, options = {}) ⇒ Object

:nodoc:



10
11
12
13
# File 'lib/will_paginate/view_helpers/sinatra.rb', line 10

def will_paginate(collection, options = {}) #:nodoc:
  options = options.merge(:renderer => LinkRenderer) unless options[:renderer]
  super(collection, options)
end