Sha256: 8d2e3f38f04b201784cb13d3079763a58f0e8e474af77153f3fb6650796bdaa6

Contents?: true

Size: 223 Bytes

Versions: 67

Compression:

Stored size: 223 Bytes

Contents

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

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
dorsale-3.0.3 app/helpers/dorsale/pagination_helper.rb
dorsale-3.0.2 app/helpers/dorsale/pagination_helper.rb
dorsale-3.0.1 app/helpers/dorsale/pagination_helper.rb
dorsale-3.0.0 app/helpers/dorsale/pagination_helper.rb
dorsale-2.7.3 app/helpers/dorsale/pagination_helper.rb
dorsale-2.7.2 app/helpers/dorsale/pagination_helper.rb
dorsale-2.7.1 app/helpers/dorsale/pagination_helper.rb
dorsale-2.7.0 app/helpers/dorsale/pagination_helper.rb
dorsale-2.6.8 app/helpers/dorsale/pagination_helper.rb
dorsale-2.6.7 app/helpers/dorsale/pagination_helper.rb
dorsale-2.6.6 app/helpers/dorsale/pagination_helper.rb
dorsale-2.6.5 app/helpers/dorsale/pagination_helper.rb
dorsale-2.6.4 app/helpers/dorsale/pagination_helper.rb
dorsale-2.6.3 app/helpers/dorsale/pagination_helper.rb
dorsale-2.6.2 app/helpers/dorsale/pagination_helper.rb
dorsale-2.6.1 app/helpers/dorsale/pagination_helper.rb
dorsale-2.6.0 app/helpers/dorsale/pagination_helper.rb
dorsale-2.5.0 app/helpers/dorsale/pagination_helper.rb
dorsale-2.4.3 app/helpers/dorsale/pagination_helper.rb
dorsale-2.4.2 app/helpers/dorsale/pagination_helper.rb