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:
Dan Buch
2011-08-31 15:46:18 -04:00
parent b47a145ef6
commit 048b3881f9
3 changed files with 20 additions and 16 deletions

View File

@@ -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