Module: WillPaginate::Merb

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

Defined Under Namespace

Classes: LinkRenderer

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:



9
10
11
12
# File 'lib/will_paginate/view_helpers/merb.rb', line 9

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