Compare View
Commits (2)
Showing
1 changed file
Show diff stats
plugins/elasticsearch/controllers/elasticsearch_plugin_controller.rb
1 | class ElasticsearchPluginController < ApplicationController | 1 | class ElasticsearchPluginController < ApplicationController |
2 | no_design_blocks | 2 | no_design_blocks |
3 | 3 | ||
4 | + def index | ||
5 | + search() | ||
6 | + render :action => 'search' | ||
7 | + end | ||
8 | + | ||
4 | def search | 9 | def search |
5 | @results = [] | 10 | @results = [] |
6 | @query = params[:q] | 11 | @query = params[:q] |