Module: WillPaginate::ActionView

Defined in:
lib/rails-bootstrap-ui/will_paginate.rb

Defined Under Namespace

Classes: BootstrapLinkRenderer

Instance Method Summary collapse

Instance Method Details

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



5
6
7
8
# File 'lib/rails-bootstrap-ui/will_paginate.rb', line 5

def will_paginate(collection = nil, options = {})
  options[:renderer] ||= BootstrapLinkRenderer
  super.try :html_safe
end