lib/rails_paginate/pagers/base.rb in rails_paginate-0.0.3 vs lib/rails_paginate/pagers/base.rb in rails_paginate-0.0.4

- old
+ new

@@ -1,10 +1,11 @@ module RailsPaginate::Pagers # base method class Base - attr_reader :collection - def initialize(collection) + attr_reader :collection, :options + def initialize(collection, options = {}) @collection = collection + @options = options end def current_page collection.current_page end \ No newline at end of file