class ThinkingSphinx::Controller

Public Instance Methods

index(*indices) click to toggle source
Calls superclass method
# File lib/thinking_sphinx/controller.rb, line 2
def index(*indices)
  options = indices.extract_options!
  indices << '--all' if indices.empty?

  ThinkingSphinx::Guard::Files.call(indices) do |names|
    super(*(names + [options]))
  end
end