Class: ThinkingSphinx::Search

Inherits:
Object
  • Object
show all
Defined in:
lib/liquor/extensions/thinking_sphinx.rb

Instance Method Summary collapse

Instance Method Details

#to_dropObject



6
7
8
# File 'lib/liquor/extensions/thinking_sphinx.rb', line 6

def to_drop
  Liquor::Pagination::Scope.new(self)
end

#to_page_path(url_generator, page) ⇒ Object



10
11
12
# File 'lib/liquor/extensions/thinking_sphinx.rb', line 10

def to_page_path(url_generator, page)
  url_generator.search_path(query: @query, page: page)
end