Module: Dorsale::PaginationHelper

Included in:
AllHelpers
Defined in:
app/helpers/dorsale/pagination_helper.rb

Instance Method Summary collapse

Instance Method Details

#paginate(objects, options = {}) ⇒ Object



3
4
5
6
# File 'app/helpers/dorsale/pagination_helper.rb', line 3

def paginate(objects, options = {})
  options = {theme: "twitter-bootstrap-3"}.merge(options)
  super(objects, options).gsub(/>(\s+)</, '><').html_safe
end