Commit ca469de250e6e12e81459545aeabd51ca7b695f1

Authored by Joenio Costa
1 parent fa30c6b9
Exists in elasticsearch_api

redirect index -> search action

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]
... ...