app/helpers/georgia/pagination_helper.rb in georgia-0.7.0 vs app/helpers/georgia/pagination_helper.rb in georgia-0.7.1
- old
+ new
@@ -1,10 +1,9 @@
module Georgia
module PaginationHelper
- def pagination_tag search
- return unless search and !search.total.zero?
- Georgia::PaginationPresenter.new(self, search)
+ def pagination_tag search, options={}
+ Georgia::PaginationPresenter.new(self, search, options)
end
end
end
\ No newline at end of file