Sha256: 1c113daa1621f4a5c627540a20bf6937234f71bd1d580bbc0c5a25872888069f

Contents?: true

Size: 201 Bytes

Versions: 11

Compression:

Stored size: 201 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dorsale-3.4.0 app/helpers/dorsale/pagination_helper.rb
dorsale-3.3.0 app/helpers/dorsale/pagination_helper.rb
dorsale-3.2.0 app/helpers/dorsale/pagination_helper.rb
dorsale-3.1.7 app/helpers/dorsale/pagination_helper.rb
dorsale-3.1.6 app/helpers/dorsale/pagination_helper.rb
dorsale-3.1.5 app/helpers/dorsale/pagination_helper.rb
dorsale-3.1.4 app/helpers/dorsale/pagination_helper.rb
dorsale-3.1.3 app/helpers/dorsale/pagination_helper.rb
dorsale-3.1.2 app/helpers/dorsale/pagination_helper.rb
dorsale-3.1.1 app/helpers/dorsale/pagination_helper.rb
dorsale-3.1.0 app/helpers/dorsale/pagination_helper.rb