Module: Googletastic::Mixins::Pagination::ClassMethods

Defined in:
lib/googletastic/mixins/pagination.rb

Instance Method Summary collapse

Instance Method Details

#paginate(*args, &block) ⇒ Object

needs to track category and such



13
14
15
16
17
18
19
20
# File 'lib/googletastic/mixins/pagination.rb', line 13

def paginate(*args, &block)
  options = args.extract_options!
  
  per_page = options[:per_page]
  page     = options[:page] || 1
  
  
end