Sha256: 587bc85a531651efb870f96e6c97c4808d392f91d5291a3f7189f52b691b5c03

Contents?: true

Size: 326 Bytes

Versions: 3

Compression:

Stored size: 326 Bytes

Contents

require 'will_paginate/view_helpers/base'
require 'will_paginate/view_helpers/link_renderer'

module WillPaginate::ViewHelpers
  class LinkRenderer
    def url( page )
      "#{@options[:params][:url]}/#{page}"
    end
  end
end


module CollectionHelper

 helpers do
   include WillPaginate::ViewHelpers::Base   
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongo3-0.0.4 lib/helpers/collection_helper.rb
mongo3-0.0.3 lib/helpers/collection_helper.rb
mongo3-0.0.2 lib/helpers/collection_helper.rb