module GovernorThinkingSphinx::Controllers::Methods
Public Instance Methods
search()
click to toggle source
# File lib/governor_thinking_sphinx/controllers/methods.rb, line 4 def search set_resources model_class.search params[:query], :order => :created_at, :sort_mode => :desc @blank_msg = "I'm sorry, no articles match your search." render :action => 'index' end