moving the simple query thingy into a different method/view so that I can turn the index method/view into something more like the Solr builtin browse view
This commit is contained in:
@@ -5,7 +5,7 @@ require 'rexml/document'
|
||||
class SolrController < ApplicationController
|
||||
include SolrHelper
|
||||
|
||||
def index
|
||||
def simple_query
|
||||
@search = request[:q]
|
||||
@results = []
|
||||
if @search != nil
|
||||
@@ -13,4 +13,6 @@ class SolrController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def index
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user