Compare View

switch
from
...
to
 
Commits (2)
plugins/elasticsearch/controllers/elasticsearch_plugin_controller.rb
1 1 class ElasticsearchPluginController < ApplicationController
2 2 no_design_blocks
3 3  
  4 + def index
  5 + search()
  6 + render :action => 'search'
  7 + end
  8 +
4 9 def search
5 10 @results = []
6 11 @query = params[:q]
... ...