Module: WillPaginate::Hanami::Helpers

Includes:
ViewHelpers
Defined in:
lib/will_paginate/view_helpers/hanami.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
14
# File 'lib/will_paginate/view_helpers/hanami.rb', line 10

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